This repository has been archived by the owner on May 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathapi.h
53 lines (46 loc) · 3.32 KB
/
api.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#include <stdbool.h>
#undef EXTERN
#ifdef DEFINE_QL_API
#define EXTERN
#else
#define EXTERN extern
#endif
#ifndef QLWS_API_H
#define QLWS_API_H
// loadQQLightAPI
EXTERN int loadQQLightAPI(int* pErrorLine);
// QQLight API
EXTERN const char* __stdcall (*QL_getPluginPath)(const char* authCode);
EXTERN void __stdcall (*QL_printLog)(const char* type, const char* text, int color, const char* authCode);
EXTERN void __stdcall (*QL_sendMessage)(int type, const char* group, const char* qq, const char* msg, const char* authCode);
EXTERN const char* __stdcall (*QL_withdrawMessage)(const char* group, const char* msgid, const char* authCode);
EXTERN const char* __stdcall (*QL_getFriendList)(int cache, const char* authCode);
EXTERN void __stdcall (*QL_addFriend)(const char* qq, const char* message, const char* authCode);
EXTERN void __stdcall (*QL_deleteFriend)(const char* qq, const char* authCode);
EXTERN const char* __stdcall (*QL_getGroupList)(int cache, const char* authCode);
EXTERN const char* __stdcall (*QL_getGroupMemberList)(const char* group, int cache, const char* authCode);
EXTERN void __stdcall (*QL_addGroup)(const char* group, const char* message, const char* authCode);
EXTERN void __stdcall (*QL_quitGroup)(const char* group, const char* authCode);
EXTERN const char* __stdcall (*QL_getGroupCard)(const char* group, const char* qq, const char* authCode);
EXTERN const char* __stdcall (*QL_uploadImage)(int type, const char* object, const char* data, const char* authCode);
EXTERN const char* __stdcall (*QL_getQQInfo)(const char* qq, const char* authCode);
EXTERN const char* __stdcall (*QL_getGroupInfo)(const char* group, const char* authCode);
EXTERN void __stdcall (*QL_inviteIntoGroup)(const char* group, const char* qq, const char* authCode);
EXTERN void __stdcall (*QL_setGroupCard)(const char* group, const char* qq, const char* name, const char* authCode);
EXTERN const char* __stdcall (*QL_getLoginAccount)(const char* authCode);
EXTERN void __stdcall (*QL_setSignature)(const char* content, const char* authCode);
EXTERN const char* __stdcall (*QL_getNickname)(const char* qq, const char* authCode);
EXTERN const char* __stdcall (*QL_setNickname)(const char* name, const char* authCode);
EXTERN const char* __stdcall (*QL_getPraiseCount)(const char* qq, const char* authCode);
EXTERN void __stdcall (*QL_givePraise)(const char* qq, const char* authCode);
EXTERN void __stdcall (*QL_handleFriendRequest)(const char* qq, int type, const char* message, const char* authCode);
EXTERN void __stdcall (*QL_setState)(int type, const char* authCode);
EXTERN void __stdcall (*QL_handleGroupRequest)(const char* group, const char* qq, const char* seq, int type, const char* message, const char* authCode);
EXTERN void __stdcall (*QL_kickGroupMember)(const char* group, const char* qq, bool permanent, const char* authCode);
EXTERN void __stdcall (*QL_silence)(const char* group, const char* qq, int duration, const char* authCode);
EXTERN void __stdcall (*QL_globalSilence)(const char* group, bool enable, const char* authCode);
EXTERN const char* __stdcall (*QL_getCookies)(const char* authCode);
EXTERN const char* __stdcall (*QL_getBkn)(const char* cookies, const char* authCode);
EXTERN const char* __stdcall (*QL_getBkn_Long)(const char* cookies, const char* authCode);
EXTERN const char* __stdcall (*QL_sendQzone)(const char* content, const char* authCode);
#endif