mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 23:35:33 +08:00
#31 Squashed merge of commits relating to the plugin system and IContext redesign, from the 'interconnect' branch.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user