Find file
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (36 sloc) 1.17 KB
* Copyright (C) 2010, Alexander Stigsen,
* This software is licensed under the Open Company License as described
* in the file license.txt, which you should have received as part of this
* distribution. The terms are also available at
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
#ifndef __EIPCTHREAD_H__
#define __EIPCTHREAD_H__
#include "wx/wxprec.h"
#ifndef WX_PRECOMP
#include <wx/wx.h>
#include "IIpcHandler.h"
// Pre-definitions
class IConnections;
class IIpcServer;
class eIpcThread : public wxThread, public IIpcHandler {
eIpcThread(wxEvtHandler& app);
virtual void* Entry();
void stop(); // Threadsafe stop of server
void handle_call(IConnection& conn);
void handle_close(IConnection& conn);
IIpcServer* m_ipcServer;
wxEvtHandler& m_app;
#endif //__EIPCTHREAD_H__