My Project
|
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 "ParameterBase.h" 00031 #include "GUIBaseObject.h" 00032 00033 namespace SallyAPI 00034 { 00035 namespace GUI 00036 { 00037 enum MessageBoxIcon; 00038 } 00039 } 00040 00041 namespace SallyAPI 00042 { 00043 namespace GUI 00044 { 00045 namespace SendMessage 00046 { 00055 00056 class DLL_API_SALLY CParameterMessageBox 00057 : public SallyAPI::GUI::SendMessage::CParameterBase 00058 { 00059 private: 00060 int m_iControlId; 00061 SallyAPI::GUI::CGUIBaseObject* m_pNotificationWindow; 00062 std::string m_strDialogText; 00063 SallyAPI::GUI::MessageBoxIcon m_iIcon; 00064 public: 00065 CParameterMessageBox(int controlId, SallyAPI::GUI::CGUIBaseObject* notificationWindow, const std::string& dialogText, MessageBoxIcon icon); 00066 virtual ~CParameterMessageBox(); 00067 00068 SallyAPI::GUI::CGUIBaseObject* GetNotificationWindow(); 00069 std::string GetDialogText(); 00070 int GetControlID(); 00071 SallyAPI::GUI::MessageBoxIcon GetIcon(); 00072 }; 00073 } 00074 } 00075 }