source: nscp/modules/ConsoleLogger/ConsoleLogger.h @ 7e33d82

0.4.00.4.10.4.2stable
Last change on this file since 7e33d82 was a0528c4, checked in by Michael Medin <michael@…>, 8 years ago

Initial release

  • Property mode set to 100644
File size: 484 bytes
Line 
1#pragma once
2
3NSC_WRAPPERS_MAIN();
4
5class ConsoleLogger {
6private:
7
8public:
9        ConsoleLogger();
10        virtual ~ConsoleLogger();
11        // Module calls
12        bool loadModule();
13        bool unloadModule();
14        std::string getModuleName();
15        NSCModuleWrapper::module_version getModuleVersion();
16        bool hasCommandHandler();
17        bool hasMessageHandler();
18        void handleMessage(int msgType, char* file, int line, char* message);
19        int handleCommand(char* command, char **argument, char *returnBuffer, int returnBufferLen);
20};
Note: See TracBrowser for help on using the repository browser.