0.4.00.4.10.4.2stable
|
Last change
on this file since e26cfe0 was
e26cfe0,
checked in by Michael Medin <michael@…>, 8 years ago
|
|
changes all over manily in the checking code
|
-
Property mode set to
100644
|
|
File size:
593 bytes
|
| Line | |
|---|
| 1 | #pragma once |
|---|
| 2 | |
|---|
| 3 | #include "TrayIcon.h" |
|---|
| 4 | |
|---|
| 5 | NSC_WRAPPERS_MAIN(); |
|---|
| 6 | |
|---|
| 7 | class SysTray { |
|---|
| 8 | private: |
|---|
| 9 | IconWidget icon; |
|---|
| 10 | |
|---|
| 11 | public: |
|---|
| 12 | SysTray(); |
|---|
| 13 | virtual ~SysTray(); |
|---|
| 14 | // Module calls |
|---|
| 15 | bool loadModule(); |
|---|
| 16 | bool unloadModule(); |
|---|
| 17 | |
|---|
| 18 | std::string getModuleName() { |
|---|
| 19 | return "System Tray icon"; |
|---|
| 20 | } |
|---|
| 21 | NSCModuleWrapper::module_version getModuleVersion() { |
|---|
| 22 | NSCModuleWrapper::module_version version = {0, 0, 1 }; |
|---|
| 23 | return version; |
|---|
| 24 | } |
|---|
| 25 | |
|---|
| 26 | std::string getModuleDescription() { |
|---|
| 27 | return "A simple module that only displays a system tray icon when NSClient++ is running."; |
|---|
| 28 | } |
|---|
| 29 | |
|---|
| 30 | bool hasCommandHandler(); |
|---|
| 31 | bool hasMessageHandler(); |
|---|
| 32 | }; |
|---|
Note: See
TracBrowser
for help on using the repository browser.