mirror of
https://github.com/debauchee/barrier.git
synced 2026-11-26 13:53:14 +08:00
fully replaced gui/daemon named pipes ipc with tcp ipc.
This commit is contained in:
@@ -262,41 +262,3 @@ CFileLogOutputter::close() {}
|
||||
|
||||
void
|
||||
CFileLogOutputter::show(bool showIfEmpty) {}
|
||||
|
||||
|
||||
//
|
||||
// CConsoleLogOutputter
|
||||
//
|
||||
|
||||
CIpcLogOutputter::CIpcLogOutputter()
|
||||
{
|
||||
}
|
||||
|
||||
CIpcLogOutputter::~CIpcLogOutputter()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
CIpcLogOutputter::open(const char* title)
|
||||
{
|
||||
ARCH->ipcLog().openLog(title);
|
||||
}
|
||||
|
||||
void
|
||||
CIpcLogOutputter::close()
|
||||
{
|
||||
ARCH->ipcLog().closeLog();
|
||||
}
|
||||
|
||||
void
|
||||
CIpcLogOutputter::show(bool showIfEmpty)
|
||||
{
|
||||
ARCH->ipcLog().showLog(showIfEmpty);
|
||||
}
|
||||
|
||||
bool
|
||||
CIpcLogOutputter::write(ELevel level, const char* msg)
|
||||
{
|
||||
ARCH->ipcLog().writeLog(level, msg);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -99,22 +99,6 @@ public:
|
||||
virtual bool write(ELevel level, const char* message);
|
||||
};
|
||||
|
||||
//! Write log to GUI over IPC
|
||||
/*!
|
||||
This outputter writes output to the GUI via IPC.
|
||||
*/
|
||||
class CIpcLogOutputter : public ILogOutputter {
|
||||
public:
|
||||
CIpcLogOutputter();
|
||||
virtual ~CIpcLogOutputter();
|
||||
|
||||
// ILogOutputter overrides
|
||||
virtual void open(const char* title);
|
||||
virtual void close();
|
||||
virtual void show(bool showIfEmpty);
|
||||
virtual bool write(ELevel level, const char* message);
|
||||
};
|
||||
|
||||
//! Write log to system log only
|
||||
/*!
|
||||
Creating an object of this type inserts a CStopLogOutputter followed
|
||||
|
||||
Reference in New Issue
Block a user