blob: 986a5bcbab2ba865aace627bb095c336867f6186 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include "transfer.h"
CTransfer::CTransfer(unsigned int oid, SERootObject* root) : Transfer(oid, root)
{
this->proto = NULL;
this->transferCallback = NULL;
}
void CTransfer::SetOnTransferCallback(OnTransfer callback, CSkypeProto* proto)
{
this->proto = proto;
this->transferCallback = callback;
}
void CTransfer::OnChange(int prop)
{
if (this->proto)
(proto->*transferCallback)(this->ref(), prop);
}
|