soui 5.0.0.1
Soui5 Doc
 
Loading...
Searching...
No Matches
SAccProxyCmnCtrl.h
1#ifndef __SACCPROXYCMNCTRL__H__
2#define __SACCPROXYCMNCTRL__H__
3
4#include "SAccProxyWindow.h"
5
6SNSBEGIN
7
8#ifdef SOUI_ENABLE_ACC
9
10/**
11 * @class SAccProxyButton
12 * @brief Accessibility proxy class for button controls.
13 * Inherits from SAccProxyWindow and overrides the get_accRole method.
14 */
15class SOUI_EXP SAccProxyButton : public SAccProxyWindow {
16 public:
17 /**
18 * @brief Constructor.
19 * @param pWnd Pointer to the associated window.
20 */
21 SAccProxyButton(IWindow *pWnd)
22 : SAccProxyWindow(pWnd)
23 {
24 }
25
26 /**
27 * @brief Retrieves the role of the accessible object.
28 * @param pvarRole Pointer to receive the role of the accessible object.
29 * @return HRESULT indicating success or failure.
30 */
31 virtual STDMETHODIMP get_accRole(VARIANT *pvarRole);
32};
33
34/**
35 * @class SAccProxyCheckButton
36 * @brief Accessibility proxy class for check button controls.
37 * Inherits from SAccProxyWindow and overrides the get_accRole method.
38 */
39class SOUI_EXP SAccProxyCheckButton : public SAccProxyWindow {
40 public:
41 /**
42 * @brief Constructor.
43 * @param pWnd Pointer to the associated window.
44 */
45 SAccProxyCheckButton(IWindow *pWnd)
46 : SAccProxyWindow(pWnd)
47 {
48 }
49
50 /**
51 * @brief Retrieves the role of the accessible object.
52 * @param pvarRole Pointer to receive the role of the accessible object.
53 * @return HRESULT indicating success or failure.
54 */
55 virtual STDMETHODIMP get_accRole(VARIANT *pvarRole);
56};
57
58/**
59 * @class SAccProxyRadioButton
60 * @brief Accessibility proxy class for radio button controls.
61 * Inherits from SAccProxyWindow and overrides the get_accRole method.
62 */
63class SOUI_EXP SAccProxyRadioButton : public SAccProxyWindow {
64 public:
65 /**
66 * @brief Constructor.
67 * @param pWnd Pointer to the associated window.
68 */
69 SAccProxyRadioButton(IWindow *pWnd)
70 : SAccProxyWindow(pWnd)
71 {
72 }
73
74 /**
75 * @brief Retrieves the role of the accessible object.
76 * @param pvarRole Pointer to receive the role of the accessible object.
77 * @return HRESULT indicating success or failure.
78 */
79 virtual STDMETHODIMP get_accRole(VARIANT *pvarRole);
80};
81
82/**
83 * @class SAccProxyCombobox
84 * @brief Accessibility proxy class for combo box controls.
85 * Inherits from SAccProxyWindow and overrides the get_accRole method.
86 */
87class SOUI_EXP SAccProxyCombobox : public SAccProxyWindow {
88 public:
89 /**
90 * @brief Constructor.
91 * @param pWnd Pointer to the associated window.
92 */
93 SAccProxyCombobox(IWindow *pWnd)
94 : SAccProxyWindow(pWnd)
95 {
96 }
97
98 /**
99 * @brief Retrieves the role of the accessible object.
100 * @param pvarRole Pointer to receive the role of the accessible object.
101 * @return HRESULT indicating success or failure.
102 */
103 virtual STDMETHODIMP get_accRole(VARIANT *pvarRole);
104};
105
106/**
107 * @class SAccProxyEdit
108 * @brief Accessibility proxy class for edit controls.
109 * Inherits from SAccProxyWindow and overrides the get_accRole method.
110 */
111class SOUI_EXP SAccProxyEdit : public SAccProxyWindow {
112 public:
113 /**
114 * @brief Constructor.
115 * @param pWnd Pointer to the associated window.
116 */
117 SAccProxyEdit(IWindow *pWnd)
118 : SAccProxyWindow(pWnd)
119 {
120 }
121
122 /**
123 * @brief Retrieves the role of the accessible object.
124 * @param pvarRole Pointer to receive the role of the accessible object.
125 * @return HRESULT indicating success or failure.
126 */
127 virtual STDMETHODIMP get_accRole(VARIANT *pvarRole);
128};
129
130/**
131 * @class SAccProxyProgress
132 * @brief Accessibility proxy class for progress controls.
133 * Inherits from SAccProxyWindow and overrides methods for name, value, and role.
134 */
135class SOUI_EXP SAccProxyProgress : public SAccProxyWindow {
136 public:
137 /**
138 * @brief Constructor.
139 * @param pWnd Pointer to the associated window.
140 */
141 SAccProxyProgress(IWindow *pWnd);
142
143 /**
144 * @brief Destructor.
145 */
146 virtual ~SAccProxyProgress(void);
147
148 public:
149 /**
150 * @brief Retrieves the name of the accessible object.
151 * @param pszValue Pointer to receive the name of the accessible object.
152 * @return HRESULT indicating success or failure.
153 */
154 virtual STDMETHODIMP get_accName(BSTR *pszValue);
155
156 /**
157 * @brief Retrieves the value of the accessible object.
158 * @param pszValue Pointer to receive the value of the accessible object.
159 * @return HRESULT indicating success or failure.
160 */
161 virtual STDMETHODIMP get_accValue(BSTR *pszValue);
162
163 /**
164 * @brief Retrieves the role of the accessible object.
165 * @param pvarRole Pointer to receive the role of the accessible object.
166 * @return HRESULT indicating success or failure.
167 */
168 virtual STDMETHODIMP get_accRole(VARIANT *pvarRole);
169};
170
171/**
172 * @class SAccProxySlideBar
173 * @brief Accessibility proxy class for slider bar controls.
174 * Inherits from SAccProxyProgress and overrides the get_accRole method.
175 */
176class SOUI_EXP SAccProxySlideBar : public SAccProxyProgress {
177 public:
178 /**
179 * @brief Constructor.
180 * @param pWnd Pointer to the associated window.
181 */
182 SAccProxySlideBar(IWindow *pWnd)
183 : SAccProxyProgress(pWnd)
184 {
185 }
186
187 /**
188 * @brief Retrieves the role of the accessible object.
189 * @param pvarRole Pointer to receive the role of the accessible object.
190 * @return HRESULT indicating success or failure.
191 */
192 virtual STDMETHODIMP get_accRole(VARIANT *pvarRole);
193};
194
195#endif // SOUI_ENABLE_ACC
196
197SNSEND
198
199#endif // __SACCPROXYCMNCTRL__H__