My Project
D:/source/c++/Programme/sally/sally/sallyAPI/ParameterOpenDialog.h
Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 #pragma once
00029 #include "Define.h"
00030 #include "GUIBaseObject.h"
00031 
00032 namespace SallyAPI
00033 {
00034         namespace GUI
00035         {
00036                 namespace SendMessage
00037                 {
00046 
00047                         class DLL_API_SALLY CParameterOpenDialog
00048                                 : public SallyAPI::GUI::SendMessage::CParameterBase
00049                         {
00050                         private:
00051                                 int                                                             m_iActionCommand;
00052                                 std::string                                             m_strActionText;
00053                                 int                                                             m_iActionImage;
00054                                 int                                                             m_iControlId;
00055                                 SallyAPI::GUI::CGUIBaseObject*  m_pNotificationWindow;
00056                                 std::string                                             m_strDialogText;
00057                                 std::vector<std::string>                m_vStartFolders;
00058                                 bool                                                    m_bShowRemovableDisk;
00059                                 bool                                                    m_bShowSpecialFolders;
00060                                 bool                                                    m_bShowSubfolders;
00061                                 std::map<std::string, int>              m_mMimetypeList;
00062                                 std::string                                             m_strGoToFolder;
00063                         public:
00064                                 CParameterOpenDialog(int controlId, SallyAPI::GUI::CGUIBaseObject* notificationWindow, const std::string& dialogText);
00065                                 virtual ~CParameterOpenDialog();
00066 
00067                                 SallyAPI::GUI::CGUIBaseObject*  GetNotificationWindow();
00068                                 std::string                                             GetDialogText();
00069                                 int                                                             GetControlID();
00070 
00071                                 void    SetStartFolders(std::vector<std::string>& startFolders);
00072                                 void    SetShowRemovableDisk(bool showRemovableDisk);
00073                                 void    SetMimetypeList(std::map<std::string, int>& mimetypeList);
00074                                 void    SetShowSubfolders(bool showSubfolders);
00075                                 void    SetShowSpecialFolders(bool showSpecialFolders);
00076                                 void    SetAction(int command, const std::string& text, int image);
00077                                 void    SetGoToFolder(const std::string& goToFolder);
00078 
00079                                 std::vector<std::string>        GetStartFolders();
00080                                 bool                                            GetShowRemovableDisk();
00081                                 std::map<std::string, int>      GetMimetypeList();
00082                                 bool                                            GetShowSubfolders();
00083                                 bool                                            GetShowSpecialFolders();
00084                                 std::string                                     GetGoToFolder();
00085 
00086                                 std::string     GetActionText();
00087                                 int                     GetActionImage();
00088                                 int                     GetActionCommand();
00089                         };
00090                 }
00091         }
00092 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines