| Index: src/plugin/NotificationMessage.h |
| =================================================================== |
| new file mode 100644 |
| --- /dev/null |
| +++ b/src/plugin/NotificationMessage.h |
| @@ -0,0 +1,25 @@ |
| +#ifndef NOTIFICATION_MESSAGE_H |
| +#define NOTIFICATION_MESSAGE_H |
| + |
| +#include <string> |
| + |
| +class NotificationMessage |
| +{ |
| +public: |
| + NotificationMessage(); |
| + NotificationMessage(HWND parent); |
| + ~NotificationMessage(){}; |
| + bool Show(std::wstring message, std::wstring title, int icon); |
| + bool Hide(); |
| + void Move(short x, short y); |
| + bool SetTextAndIcon(std::wstring text, std::wstring title, int icon); |
| + void SetParent(HWND parent); |
| + bool IsVisible(); |
| +private: |
| + HWND parentWindow; |
| + HWND toolTipWindow; |
| + static bool commonControlsInitialized; |
| + static void CommonControlsInitialize(); |
|
Wladimir Palant
2013/09/19 08:59:16
Nit: given that method names should be actions, In
|
| +}; |
| + |
| +#endif |