My Project
|
Dialog for setting the send message parameter open. More...
#include <ParameterOpenDialog.h>
Public Member Functions | |
CParameterOpenDialog (int controlId, SallyAPI::GUI::CGUIBaseObject *notificationWindow, const std::string &dialogText) | |
Constructor. | |
virtual | ~CParameterOpenDialog () |
Destructor. | |
SallyAPI::GUI::CGUIBaseObject * | GetNotificationWindow () |
Gets the notification window. | |
std::string | GetDialogText () |
Gets the dialog text. | |
int | GetControlID () |
Gets the control identifier. | |
void | SetStartFolders (std::vector< std::string > &startFolders) |
Sets a start folders. | |
void | SetShowRemovableDisk (bool showRemovableDisk) |
Sets a show removable disk. | |
void | SetMimetypeList (std::map< std::string, int > &mimetypeList) |
Sets a mimetype list. | |
void | SetShowSubfolders (bool showSubfolders) |
Sets a show subfolders. | |
void | SetShowSpecialFolders (bool showSpecialFolders) |
Sets a show special folders. | |
void | SetAction (int command, const std::string &text, int image) |
Sets an action. | |
void | SetGoToFolder (const std::string &goToFolder) |
Sets a go to folder. | |
std::vector< std::string > | GetStartFolders () |
Gets the start folders. | |
bool | GetShowRemovableDisk () |
Gets the show removable disk. | |
std::map< std::string, int > | GetMimetypeList () |
Gets the mimetype list. | |
bool | GetShowSubfolders () |
Gets the show subfolders. | |
bool | GetShowSpecialFolders () |
Gets the show special folders. | |
std::string | GetGoToFolder () |
Gets the go to folder. | |
std::string | GetActionText () |
Gets the action text. | |
int | GetActionImage () |
Gets the action image. | |
int | GetActionCommand () |
Gets the action command. |
Dialog for setting the send message parameter open.
CParameterOpenDialog::CParameterOpenDialog | ( | int | controlId, |
SallyAPI::GUI::CGUIBaseObject * | notificationWindow, | ||
const std::string & | dialogText | ||
) |
Constructor.
controlId | Identifier for the control. | |
[in,out] | notificationWindow | If non-null, the notification window. |
dialogText | The dialog text. |
CParameterOpenDialog::~CParameterOpenDialog | ( | ) | [virtual] |
Destructor.
Gets the action command.
Gets the action image.
std::string CParameterOpenDialog::GetActionText | ( | ) |
Gets the action text.
Gets the control identifier.
std::string CParameterOpenDialog::GetDialogText | ( | ) |
Gets the dialog text.
std::string CParameterOpenDialog::GetGoToFolder | ( | ) |
Gets the go to folder.
std::map< std::string, int > CParameterOpenDialog::GetMimetypeList | ( | ) |
Gets the mimetype list.
Gets the notification window.
Gets the show removable disk.
Gets the show special folders.
Gets the show subfolders.
std::vector< std::string > CParameterOpenDialog::GetStartFolders | ( | ) |
Gets the start folders.
void CParameterOpenDialog::SetAction | ( | int | command, |
const std::string & | text, | ||
int | image | ||
) |
Sets an action.
command | The command. |
text | The text. |
image | The image. |
void CParameterOpenDialog::SetGoToFolder | ( | const std::string & | goToFolder | ) |
Sets a go to folder.
goToFolder | Pathname of the go to folder. |
void CParameterOpenDialog::SetMimetypeList | ( | std::map< std::string, int > & | mimetypeList | ) |
Sets a mimetype list.
[in,out] | mimetypeList | List of mimetypes. |
void CParameterOpenDialog::SetShowRemovableDisk | ( | bool | showRemovableDisk | ) |
Sets a show removable disk.
showRemovableDisk | true to show, false to hide the removable disk. |
void CParameterOpenDialog::SetShowSpecialFolders | ( | bool | showSpecialFolders | ) |
Sets a show special folders.
showSpecialFolders | true to show, false to hide the special folders. |
void CParameterOpenDialog::SetShowSubfolders | ( | bool | showSubfolders | ) |
Sets a show subfolders.
showSubfolders | true to show, false to hide the subfolders. |
void CParameterOpenDialog::SetStartFolders | ( | std::vector< std::string > & | startFolders | ) |
Sets a start folders.
[in,out] | startFolders | The start folders. |