1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

style: adjust function arg names in header to changes in core.cpp

This commit is contained in:
Zetok Zalbavar 2016-12-18 23:42:37 +00:00
parent 12c21b21d2
commit 4bcf57b236
No known key found for this signature in database
GPG Key ID: C953D3880212068A
2 changed files with 15 additions and 10 deletions

View File

@ -213,14 +213,14 @@ private:
static void onConnectionStatusChanged(Tox* tox, uint32_t friendId, static void onConnectionStatusChanged(Tox* tox, uint32_t friendId,
TOX_CONNECTION status, void* core); TOX_CONNECTION status, void* core);
static void onGroupInvite(Tox* tox, uint32_t friendId, TOX_CONFERENCE_TYPE type, static void onGroupInvite(Tox* tox, uint32_t friendId, TOX_CONFERENCE_TYPE type,
const uint8_t* data, size_t length, void* core); const uint8_t* data, size_t length, void* vCore);
static void onGroupMessage(Tox* tox, uint32_t groupId, uint32_t peerId, static void onGroupMessage(Tox* tox, uint32_t groupId, uint32_t peerId,
TOX_MESSAGE_TYPE type, const uint8_t* message, TOX_MESSAGE_TYPE type, const uint8_t* cMessage,
size_t length, void* core); size_t length, void* vCore);
static void onGroupNamelistChange(Tox* tox, uint32_t groupId, uint32_t peerId, static void onGroupNamelistChange(Tox* tox, uint32_t groupId, uint32_t peerId,
TOX_CONFERENCE_STATE_CHANGE change, void* core); TOX_CONFERENCE_STATE_CHANGE change, void* core);
static void onGroupTitleChange(Tox* tox, uint32_t groupId, uint32_t peerId, static void onGroupTitleChange(Tox* tox, uint32_t groupId, uint32_t peerId,
const uint8_t* title, size_t length, void* core); const uint8_t* cTitle, size_t length, void* vCore);
static void onReadReceiptCallback(Tox* tox, uint32_t friendId, static void onReadReceiptCallback(Tox* tox, uint32_t friendId,
uint32_t receipt, void* core); uint32_t receipt, void* core);

View File

@ -62,14 +62,19 @@ private:
} }
private: private:
static void onFileReceiveCallback(Tox*, uint32_t friendnumber, uint32_t fileId, uint32_t kind, static void onFileReceiveCallback(Tox*, uint32_t friendId, uint32_t fileId,
uint64_t filesize, const uint8_t *fname, size_t fnameLen, void *core); uint32_t kind, uint64_t filesize,
static void onFileControlCallback(Tox *tox, uint32_t friendId, uint32_t fileId, const uint8_t* fname, size_t fnameLen,
TOX_FILE_CONTROL control, void *core); void *vCore);
static void onFileControlCallback(Tox *tox, uint32_t friendId,
uint32_t fileId, TOX_FILE_CONTROL control,
void *core);
static void onFileDataCallback(Tox *tox, uint32_t friendId, uint32_t fileId, static void onFileDataCallback(Tox *tox, uint32_t friendId, uint32_t fileId,
uint64_t pos, size_t length, void *core); uint64_t pos, size_t length, void *core);
static void onFileRecvChunkCallback(Tox *tox, uint32_t friendId, uint32_t fileId, uint64_t position, static void onFileRecvChunkCallback(Tox *tox, uint32_t friendId,
const uint8_t *data, size_t length, void *core); uint32_t fileId, uint64_t position,
const uint8_t* data, size_t length,
void *vCore);
static void onConnectionStatusChanged(Core* core, uint32_t friendId, bool online); static void onConnectionStatusChanged(Core* core, uint32_t friendId, bool online);
private: private: