|
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
|
2 /* vim:expandtab:shiftwidth=2:tabstop=2: |
|
3 */ |
|
4 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
5 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
7 |
|
8 #ifndef _ACCESSIBLE_VALUE_H |
|
9 #define _ACCESSIBLE_VALUE_H |
|
10 |
|
11 #include "AccessibleValue.h" |
|
12 |
|
13 namespace mozilla { |
|
14 namespace a11y { |
|
15 |
|
16 class ia2AccessibleValue: public IAccessibleValue |
|
17 { |
|
18 public: |
|
19 |
|
20 // IUnknown |
|
21 STDMETHODIMP QueryInterface(REFIID, void**); |
|
22 |
|
23 // IAccessibleValue |
|
24 virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_currentValue( |
|
25 /* [retval][out] */ VARIANT *currentValue); |
|
26 |
|
27 virtual HRESULT STDMETHODCALLTYPE setCurrentValue( |
|
28 /* [in] */ VARIANT value); |
|
29 |
|
30 virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_maximumValue( |
|
31 /* [retval][out] */ VARIANT *maximumValue); |
|
32 |
|
33 virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_minimumValue( |
|
34 /* [retval][out] */ VARIANT *minimumValue); |
|
35 |
|
36 }; |
|
37 |
|
38 } // namespace a11y |
|
39 } // namespace mozilla |
|
40 |
|
41 #endif |