2
* Copyright (C) 2011 Canonical Ltd
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 3 as
6
* published by the Free Software Foundation.
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16
* Authored by: Alejandro Piñeiro Iglesias <apinheiro@igalia.com>
19
#ifndef UNITY_ROOT_ACCESSIBLE_H
20
#define UNITY_ROOT_ACCESSIBLE_H
25
#include "Nux/BaseWindow.h"
29
#define UNITY_TYPE_ROOT_ACCESSIBLE (unity_root_accessible_get_type ())
30
#define UNITY_ROOT_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_ROOT_ACCESSIBLE, UnityRootAccessible))
31
#define UNITY_ROOT_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_ROOT_ACCESSIBLE, UnityRootAccessibleClass))
32
#define UNITY_IS_ROOT_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_ROOT_ACCESSIBLE))
33
#define UNITY_IS_ROOT_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_ROOT_ACCESSIBLE))
34
#define UNITY_ROOT_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_ROOT_ACCESSIBLE, UnityRootAccessibleClass))
36
typedef struct _UnityRootAccessible UnityRootAccessible;
37
typedef struct _UnityRootAccessibleClass UnityRootAccessibleClass;
38
typedef struct _UnityRootAccessiblePrivate UnityRootAccessiblePrivate;
40
struct _UnityRootAccessible
45
UnityRootAccessiblePrivate *priv;
48
struct _UnityRootAccessibleClass
50
AtkObjectClass parent_class;
53
GType unity_root_accessible_get_type (void);
54
AtkObject *unity_root_accessible_new (void);
56
void unity_root_accessible_add_window (UnityRootAccessible *self, nux::BaseWindow *window);
60
#endif /* __UNITY_ROOT_ACCESSIBLE_H__ */