summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skypekit/transfer.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Skype/src/skypekit/transfer.h')
-rw-r--r--protocols/Skype/src/skypekit/transfer.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/protocols/Skype/src/skypekit/transfer.h b/protocols/Skype/src/skypekit/transfer.h
new file mode 100644
index 0000000000..d327c496b0
--- /dev/null
+++ b/protocols/Skype/src/skypekit/transfer.h
@@ -0,0 +1,22 @@
+#pragma once
+
+#include "common.h"
+
+class CTransfer : public Transfer
+{
+public:
+ typedef void (CSkypeProto::* OnTransfer)(CTransfer::Ref transfer, int);
+
+ typedef DRef<CTransfer, Transfer> Ref;
+ typedef DRefs<CTransfer, Transfer> Refs;
+
+ CTransfer(unsigned int oid, SERootObject* p_root);
+
+ void SetOnTransferCallback(OnTransfer callback, CSkypeProto* proto);
+
+private:
+ CSkypeProto* proto;
+ OnTransfer transferCallback;
+
+ void OnChange(int prop);
+}; \ No newline at end of file