|
Last change
on this file since 3b8eb61 was
e0705d4,
checked in by Michael Medin <michael@…>, 8 years ago
|
|
Initial release
|
-
Property mode set to
100644
|
|
File size:
495 bytes
|
| Line | |
|---|
| 1 | #pragma once |
|---|
| 2 | |
|---|
| 3 | NSC_WRAPPERS_MAIN(); |
|---|
| 4 | |
|---|
| 5 | class FileLogger { |
|---|
| 6 | private: |
|---|
| 7 | std::string file_; |
|---|
| 8 | |
|---|
| 9 | public: |
|---|
| 10 | FileLogger(); |
|---|
| 11 | virtual ~FileLogger(); |
|---|
| 12 | // Module calls |
|---|
| 13 | bool loadModule(); |
|---|
| 14 | bool unloadModule(); |
|---|
| 15 | std::string getModuleName(); |
|---|
| 16 | NSCModuleWrapper::module_version getModuleVersion(); |
|---|
| 17 | bool hasCommandHandler(); |
|---|
| 18 | bool hasMessageHandler(); |
|---|
| 19 | void handleMessage(int msgType, char* file, int line, char* message); |
|---|
| 20 | int handleCommand(char* command, char **argument, char *returnBuffer, int returnBufferLen); |
|---|
| 21 | }; |
|---|
Note: See
TracBrowser
for help on using the repository browser.