summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Protocol_Base
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2012-11-16 12:00:53 +0000
committerWim Vriend <facetracknoir@gmail.com>2012-11-16 12:00:53 +0000
commitb3d3a1f1d4f9739a506990edefcd2d81502368d4 (patch)
tree3bf2d14c5294060757325d5c3d25c1713c06c714 /FTNoIR_Protocol_Base
parenta04cfffdd5cf40a51a6becc3d4a09172864bf99d (diff)
Added registerProtocol and unRegisterProtocol to the Protocol classes.
Now the Protocol Dialog can get data from the protocol, when the Tracker is running. git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@192 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FTNoIR_Protocol_Base')
-rw-r--r--FTNoIR_Protocol_Base/ftnoir_protocol_base.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/FTNoIR_Protocol_Base/ftnoir_protocol_base.h b/FTNoIR_Protocol_Base/ftnoir_protocol_base.h
index 214aae7f..3f598d35 100644
--- a/FTNoIR_Protocol_Base/ftnoir_protocol_base.h
+++ b/FTNoIR_Protocol_Base/ftnoir_protocol_base.h
@@ -25,6 +25,7 @@
/*
Modifications (last one on top):
+ 20121115 - WVR: Added RegisterProtocol() and unRegisterProtocol() to Dialog Class
20110415 - WVR: Added overloaded operator - and -=
*/
@@ -81,6 +82,8 @@ struct IProtocolDialog
{
virtual ~IProtocolDialog() {}
virtual void Initialize(QWidget *parent) = 0;
+ virtual void registerProtocol(IProtocol *protocol) = 0;
+ virtual void unRegisterProtocol() = 0;
};
typedef IProtocolDialog* IProtocolDialogPtr;