Acacia
ia_action.h
1 #ifndef LIB_IA2_IA_ACTION_H_
2 #define LIB_IA2_IA_ACTION_H_
3 
4 #include <string>
5 
6 #include <wrl/client.h>
7 
8 #include "acacia/export.h"
9 #include "third_party/ia2/include/ia2/ia2_api_all.h"
10 
11 namespace acacia {
12 
20 class ACACIA_EXPORT IAAction {
21  public:
22  IAAction(Microsoft::WRL::ComPtr<IAccessibleAction> iface) : iface_(iface) {}
23  ~IAAction(){};
24 
29  bool isNull() { return !iface_; }
30 
36  std::string toString();
37 
43  long nActions();
44 
52  std::string getDescription(int index);
53 
61  std::string getName(int index);
62 
63  private:
64  Microsoft::WRL::ComPtr<IAccessibleAction> iface_;
65 };
66 
67 } // namespace acacia
68 
69 #endif // LIB_IA2_IA_ACTION_H_
Definition: ia_action.h:20
bool isNull()
Definition: ia_action.h:29
std::string getDescription(int index)
std::string getName(int index)
std::string toString()