2023-03-31 21:21:35 +08:00
|
|
|
#ifndef WXHELPER_CONTACT_MGR_H_
|
|
|
|
#define WXHELPER_CONTACT_MGR_H_
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
#include "base_mgr.h"
|
|
|
|
#include "wechat_function.h"
|
|
|
|
namespace wxhelper {
|
|
|
|
class ContactMgr : public BaseMgr {
|
|
|
|
public:
|
|
|
|
explicit ContactMgr(DWORD base);
|
|
|
|
~ContactMgr();
|
|
|
|
int GetAllContact(std::vector<Contact>& vec);
|
|
|
|
int DelContact(wchar_t* wxid);
|
|
|
|
std::wstring GetContactOrChatRoomNickname(wchar_t* id);
|
|
|
|
int AddFriendByWxid(wchar_t* wxid,wchar_t* msg);
|
2023-05-05 09:39:20 +08:00
|
|
|
int VerifyApply(wchar_t *v3, wchar_t *v4,int permission);
|
2023-03-31 21:21:35 +08:00
|
|
|
};
|
|
|
|
} // namespace wxhelper
|
|
|
|
|
|
|
|
#endif;
|