add WINIX_SAVE_FILELOG plugin message
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2018-2021, Tomasz Sowa
|
||||
* Copyright (c) 2018-2022, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -47,7 +47,7 @@
|
||||
namespace Winix
|
||||
{
|
||||
class TimeZones;
|
||||
|
||||
class Plugin;
|
||||
|
||||
class FileLog : public pt::FileLog
|
||||
{
|
||||
@@ -57,6 +57,7 @@ public:
|
||||
virtual ~FileLog();
|
||||
|
||||
void set_synchro(Synchro * synchro);
|
||||
void set_plugin(Plugin * plugin);
|
||||
|
||||
// using pt::FileLog::init to suppress clang warning:
|
||||
// warning: 'Winix::FileLog::init' hides overloaded virtual function [-Woverloaded-virtual]
|
||||
@@ -70,6 +71,8 @@ public:
|
||||
int get_log_level();
|
||||
bool should_save_each_line();
|
||||
|
||||
void save_log(pt::WTextStream * buffer);
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
@@ -77,12 +80,8 @@ protected:
|
||||
size_t log_time_zone_id;
|
||||
|
||||
TimeZones * time_zones;
|
||||
|
||||
Synchro * synchro;
|
||||
|
||||
|
||||
virtual bool synchro_lock();
|
||||
virtual void synchro_unlock();
|
||||
Plugin * plugin; // can be null (only at the beginning when winix starts)
|
||||
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user