1
0
forked from BRT/arc
arc/automation_script/adb_fun.h
2025-04-25 15:42:51 +04:00

19 lines
362 B
C++

#ifndef ADB_FUN_H
#define ADB_FUN_H
#include <string>
#include <vector>
bool checkDevices();
bool startApp(const std::string& packageName);
bool tap(int x, int y);
bool inputText(const std::string& text);
bool swipe(int x1, int y1, int x2, int y2);
bool takeScreenshot(const std::string& filename);
void log(const std::string& message);
#endif //ADB_FUN_H