#31 Squashed merge of commits relating to the plugin system and IContext redesign, from the 'interconnect' branch.

This commit is contained in:
Mathew Sutcliffe
2013-04-17 01:26:54 +01:00
parent 4e812975b4
commit 9916419678
57 changed files with 1517 additions and 1092 deletions

View File

@@ -14,6 +14,8 @@ const qint32 Sync_Marker = 0x1ACFFC1D;
namespace BlackMisc
{
class IContext;
//! IComHandler Interface.
/*!
This interface implements the basic class for every InterCommunikation
@@ -30,7 +32,7 @@ namespace BlackMisc
/*!
\param parent Pointer to the parent QObject
*/
explicit IComHandler(QObject *parent = 0);
IComHandler(IContext &context, QObject *parent = 0);
//! Virtual destructor
virtual ~IComHandler() {}
@@ -53,6 +55,9 @@ namespace BlackMisc
*/
bool parseFrame(QString &messageID, QByteArray &data);
//! Context.
IContext &m_context;
//! Receive Buffer
/*!
Data received from the TCP socket, will stored in here.