载入中...
搜索中...
未找到
UIAutomation.h
浏览该文件的文档.
1#pragma once
2
3// Capability interface: semantic inspection and interaction for retained game
4// UI. DevTools consumes this without depending on the ui module.
5
6#include "common/Export.h"
7
8#include <string>
9
10namespace eve {
11
14public:
15 static constexpr const char* capabilityName = "IUIAutomation";
16
18 virtual ~IUIAutomation() = default;
19
25 virtual std::string tree(const std::string& host) const = 0;
26
33 virtual std::string get(const std::string& host, const std::string& widget) const = 0;
34
41 virtual std::string click(const std::string& host, const std::string& widget) = 0;
42};
43
44} // namespace eve
std::string widget
#define EVENGINE_API_FOUNDATION_INLINE
仅供"只有内联成员"的类型使用的组宏:拥有者 dllexport,消费方不导入。
Definition Export.h:170
UIHostHandle host
Semantic retained-UI automation provided by the ui module.
virtual std::string get(const std::string &host, const std::string &widget) const =0
Read one widget's semantic state.
virtual ~IUIAutomation()=default
Iui automation.
virtual std::string click(const std::string &host, const std::string &widget)=0
Queue a semantic click through the normal UI event path.
virtual std::string tree(const std::string &host) const =0
Serialize visible and hidden retained UI hosts and their widget trees.
Build metadata (engine git commit, build time, third-party version).
Definition Build.cpp:16