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 "GUIBaseObject.h" 00031 00032 namespace SallyAPI 00033 { 00034 namespace GUI 00035 { 00036 namespace SendMessage 00037 { 00046 00047 class DLL_API_SALLY CParameterInputBox 00048 : public SallyAPI::GUI::SendMessage::CParameterBase 00049 { 00050 private: 00051 int m_iControlId; 00052 SallyAPI::GUI::CGUIBaseObject* m_pNotificationWindow; 00053 std::string m_strDialogText; 00054 std::string m_strDefaultText; 00055 public: 00056 CParameterInputBox(int controlId, SallyAPI::GUI::CGUIBaseObject* notificationWindow, const std::string& dialogText, const std::string& defaultText); 00057 virtual ~CParameterInputBox(); 00058 00059 SallyAPI::GUI::CGUIBaseObject* GetNotificationWindow(); 00060 std::string GetDialogText(); 00061 int GetControlID(); 00062 std::string GetDefaultText(); 00063 }; 00064 } 00065 } 00066 }