19 lines
362 B
C++
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
|