fully replaced gui/daemon named pipes ipc with tcp ipc.

This commit is contained in:
Nick Bolton
2012-07-03 14:15:05 +00:00
parent 79d73bd163
commit 7d5fbde71d
25 changed files with 315 additions and 399 deletions

View File

@@ -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;
}

View File

@@ -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