]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/ole/access.h
Reuse wxMessageOutputStderr for wxLogStderr implementation.
[wxWidgets.git] / include / wx / msw / ole / access.h
CommitLineData
45a959a3 1///////////////////////////////////////////////////////////////////////////////
80fdcdb9 2// Name: wx/msw/ole/access.h
45a959a3
JS
3// Purpose: declaration of the wxAccessible class
4// Author: Julian Smart
5// Modified by:
6// Created: 2003-02-12
7// RCS-ID: $Id$
8// Copyright: (c) 2003 Julian Smart
65571936 9// Licence: wxWindows licence
45a959a3
JS
10///////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_ACCESS_H_
13#define _WX_ACCESS_H_
14
0a0e6a5b 15#if wxUSE_ACCESSIBILITY
45a959a3
JS
16
17// ----------------------------------------------------------------------------
18// forward declarations
19// ----------------------------------------------------------------------------
20
21class wxIAccessible;
b5dbe15d 22class WXDLLIMPEXP_FWD_CORE wxWindow;
45a959a3
JS
23
24// ----------------------------------------------------------------------------
25// macros
26// ----------------------------------------------------------------------------
27
28// ----------------------------------------------------------------------------
29// wxAccessible implements accessibility behaviour.
30// ----------------------------------------------------------------------------
31
53a2db12 32class WXDLLIMPEXP_CORE wxAccessible : public wxAccessibleBase
45a959a3
JS
33{
34public:
35 wxAccessible(wxWindow *win = NULL);
36 virtual ~wxAccessible();
37
38// Overridables
39
40// Accessors
41
42 // Returns the wxIAccessible pointer
43 wxIAccessible* GetIAccessible() { return m_pIAccessible; }
44
45 // Returns the IAccessible standard interface pointer
46 void* GetIAccessibleStd() ;
47
371a5b4e
JS
48// Operations
49
50 // Sends an event when something changes in an accessible object.
51 static void NotifyEvent(int eventType, wxWindow* window, wxAccObject objectType,
52 int objectId);
53
45a959a3
JS
54protected:
55 void Init();
56
57private:
58 wxIAccessible * m_pIAccessible; // the pointer to COM interface
59 void* m_pIAccessibleStd; // the pointer to the standard COM interface,
60 // for default processing
61
c0c133e1 62 wxDECLARE_NO_COPY_CLASS(wxAccessible);
45a959a3
JS
63};
64
0a0e6a5b
WS
65#endif //wxUSE_ACCESSIBILITY
66
45a959a3
JS
67#endif //_WX_ACCESS_H_
68