code style changes
This commit is contained in:
parent
09efb08254
commit
4cac0e935b
6 changed files with 14 additions and 19 deletions
|
@ -92,7 +92,7 @@ LED bar: lbr
|
||||||
// file name for logging file
|
// file name for logging file
|
||||||
#define DEFAULT_LOG_FILE_NAME "Jamulussrvlog.txt"
|
#define DEFAULT_LOG_FILE_NAME "Jamulussrvlog.txt"
|
||||||
|
|
||||||
// Default oldest item to draw in history graph (days ago)
|
// default oldest item to draw in history graph (days ago)
|
||||||
#define DEFAULT_DAYS_HISTORY 60
|
#define DEFAULT_DAYS_HISTORY 60
|
||||||
|
|
||||||
// default server address
|
// default server address
|
||||||
|
|
|
@ -130,8 +130,7 @@ int main ( int argc, char** argv )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Maximum days in history display -------------------------------------
|
||||||
// Maximum days in history display ------------------------------------
|
|
||||||
if ( GetNumericArgument ( tsConsole,
|
if ( GetNumericArgument ( tsConsole,
|
||||||
argc,
|
argc,
|
||||||
argv,
|
argv,
|
||||||
|
|
|
@ -25,14 +25,6 @@
|
||||||
#include "serverlogging.h"
|
#include "serverlogging.h"
|
||||||
|
|
||||||
// Server logging --------------------------------------------------------------
|
// Server logging --------------------------------------------------------------
|
||||||
CServerLogging::CServerLogging( const int iMaxDaysHistory ) :
|
|
||||||
JpegHistoryGraph ( iMaxDaysHistory ),
|
|
||||||
SvgHistoryGraph ( iMaxDaysHistory ),
|
|
||||||
bDoLogging ( false ),
|
|
||||||
File ( DEFAULT_LOG_FILE_NAME )
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
CServerLogging::~CServerLogging()
|
CServerLogging::~CServerLogging()
|
||||||
{
|
{
|
||||||
// close logging file of open
|
// close logging file of open
|
||||||
|
|
|
@ -38,7 +38,11 @@
|
||||||
class CServerLogging
|
class CServerLogging
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CServerLogging( const int iMaxDaysHistory );
|
CServerLogging ( const int iMaxDaysHistory ) :
|
||||||
|
JpegHistoryGraph ( iMaxDaysHistory ),
|
||||||
|
SvgHistoryGraph ( iMaxDaysHistory ),
|
||||||
|
bDoLogging ( false ),
|
||||||
|
File ( DEFAULT_LOG_FILE_NAME ) {}
|
||||||
|
|
||||||
virtual ~CServerLogging();
|
virtual ~CServerLogging();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue