You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
800 B
41 lines
800 B
#ifndef __OBJECTCLILOGGINGSERVICE_H_INCL__
|
|
|
|
#define __OBJECTCLILOGGINGSERVICE_H_INCL__
|
|
|
|
#include "../../cli/cliClass.h"
|
|
#include "../base/basicFunctionality.h"
|
|
#include "../base/basicLoggingService.h"
|
|
|
|
#include <time.h>
|
|
#ifndef NEWT_CLI
|
|
#include "../base/basicNCursesEngine.h"
|
|
#endif
|
|
|
|
/**
|
|
* TODO: Add class description
|
|
*
|
|
* @author Gagua
|
|
*/
|
|
class objectCliLoggingService : public basicLoggingService, public WindowCLI
|
|
{
|
|
private:
|
|
|
|
bool m_bLogging;
|
|
char ** m_ppLines;
|
|
int m_iLinesCount;
|
|
newtComponent m_t[22];
|
|
newtComponent m_b1, m_b2;
|
|
|
|
public:
|
|
|
|
// Constructor
|
|
objectCliLoggingService();
|
|
|
|
// Destructor
|
|
~objectCliLoggingService();
|
|
|
|
void logMessage(CSTR Msg);
|
|
void logMessage(const char * Msg);
|
|
void paint(void);
|
|
};
|
|
#endif // __OBJECTCLILOGGINGSERVICE_H_INCL__
|