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
|
||||
#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
|
||||
|
||||
// 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,
|
||||
argc,
|
||||
argv,
|
||||
|
|
|
@ -25,14 +25,6 @@
|
|||
#include "serverlogging.h"
|
||||
|
||||
// Server logging --------------------------------------------------------------
|
||||
CServerLogging::CServerLogging( const int iMaxDaysHistory ) :
|
||||
JpegHistoryGraph ( iMaxDaysHistory ),
|
||||
SvgHistoryGraph ( iMaxDaysHistory ),
|
||||
bDoLogging ( false ),
|
||||
File ( DEFAULT_LOG_FILE_NAME )
|
||||
{
|
||||
}
|
||||
|
||||
CServerLogging::~CServerLogging()
|
||||
{
|
||||
// close logging file of open
|
||||
|
|
|
@ -38,7 +38,11 @@
|
|||
class CServerLogging
|
||||
{
|
||||
public:
|
||||
CServerLogging( const int iMaxDaysHistory );
|
||||
CServerLogging ( const int iMaxDaysHistory ) :
|
||||
JpegHistoryGraph ( iMaxDaysHistory ),
|
||||
SvgHistoryGraph ( iMaxDaysHistory ),
|
||||
bDoLogging ( false ),
|
||||
File ( DEFAULT_LOG_FILE_NAME ) {}
|
||||
|
||||
virtual ~CServerLogging();
|
||||
|
||||
|
|
Loading…
Reference in a new issue