1 #ifndef GUI_WIDGETS___FILE_LOAD_WIZARD__HPP
2 #define GUI_WIDGETS___FILE_LOAD_WIZARD__HPP
85 void LoadFormats(
const vector<string>& format_ids);
89 const vector<CIRef<IFileLoadPanelClient> >&
GetFormatManagers()
const {
return m_FormatManagers; }
92 void SetFilenames(vector<wxString>&
filenames);
96 void OnFormatChanged(
int format);
103 virtual wxPanel* GetPanel();
104 virtual bool CanLeavePage(
bool forward) {
return m_Manager.x_CanLeavePage(); }
118 bool x_CanLeavePage();
121 bool x_CheckFormatConflict(
const vector<wxString>&
filenames);
CFilePage(CFileLoadWizard &manager)
virtual IWizardPage * GetPrevPage()
virtual bool CanLeavePage(bool forward)
virtual void SetPrevPage(IWizardPage *)
virtual IWizardPage * GetOptionsPage()
virtual void SetOptionsPage(IWizardPage *)
CFileLoadWizard & m_Manager
virtual IWizardPage * GetNextPage()
virtual void SetNextPage(IWizardPage *)
vector< wxString > m_Filenames
CFilePage m_FileSelectPage
CFileLoadPanel * m_FileSelectPanel
const vector< CIRef< IFileLoadPanelClient > > & GetFormatManagers() const
CFileLoadMRUList m_FileMRUList
vector< wxString > GetFilenames() const
vector< CIRef< IFileLoadPanelClient > > m_FormatManagers
wxWindow * m_ParentWindow
IWizardPage * m_StartPage
CFileLoadMRUList & GetFileMRUList()
virtual IExecuteUnit * GetExecuteUnit()
IRegSettings An interface for objects that save / restore settings using CGuiRegistry.
virtual void SaveSettings() const =0
virtual void LoadSettings()=0
virtual void SetRegistryPath(const string &path)=0
string GetLabel(const CSeq_id &id)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_LOADERS_EXPORT
Defines to provide correct exporting from DLLs in Windows.
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
The NCBI C++/STL use hints.
void SetWorkDir(wxWindow *wnd, const wxString &workDir)