summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skypekit/transfer.h
blob: d327c496b0cbbc5be50f49670ce1aa845f61d479 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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);
};