wxhelper/src/manager.h

20 lines
569 B
C
Raw Normal View History

2023-06-26 18:23:47 +08:00
#ifndef WXHELPER_MANAGER_H_
#define WXHELPER_MANAGER_H_
#include "Windows.h"
#include "wechat_function.h"
namespace wxhelper {
class Manager {
public:
explicit Manager(UINT64 base);
~Manager();
INT64 CheckLogin();
INT64 GetSelfInfo(common::SelfInfoInner& out);
INT64 SendTextMsg(const std::wstring& wxid, const std::wstring& msg);
2023-06-28 16:35:53 +08:00
INT64 SendImageMsg(const std::wstring& wxid, const std::wstring& image_path);
INT64 SendFileMsg(const std::wstring& wxid, const std::wstring& file_path);
2023-06-26 18:23:47 +08:00
private:
UINT64 base_addr_;
};
} // namespace wxhelper
#endif