/* * Copyright (C) 2011 Canonical Ltd * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Authored by: Alejandro PiƱeiro Iglesias */ #ifndef NUX_BASE_WINDOW_ACCESSIBLE_H #define NUX_BASE_WINDOW_ACCESSIBLE_H #include #include #include #include "nux-view-accessible.h" G_BEGIN_DECLS #define NUX_TYPE_BASE_WINDOW_ACCESSIBLE (nux_base_window_accessible_get_type ()) #define NUX_BASE_WINDOW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NUX_TYPE_BASE_WINDOW_ACCESSIBLE, NuxBaseWindowAccessible)) #define NUX_BASE_WINDOW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NUX_TYPE_BASE_WINDOW_ACCESSIBLE, NuxBaseWindowAccessibleClass)) #define NUX_IS_BASE_WINDOW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NUX_TYPE_BASE_WINDOW_ACCESSIBLE)) #define NUX_IS_BASE_WINDOW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), NUX_TYPE_BASE_WINDOW_ACCESSIBLE)) #define NUX_BASE_WINDOW_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NUX_TYPE_BASE_WINDOW_ACCESSIBLE, NuxBaseWindowAccessibleClass)) typedef struct _NuxBaseWindowAccessible NuxBaseWindowAccessible; typedef struct _NuxBaseWindowAccessibleClass NuxBaseWindowAccessibleClass; typedef struct _NuxBaseWindowAccessiblePrivate NuxBaseWindowAccessiblePrivate; struct _NuxBaseWindowAccessible { NuxViewAccessible parent; /*< private >*/ NuxBaseWindowAccessiblePrivate* priv; }; struct _NuxBaseWindowAccessibleClass { NuxViewAccessibleClass parent_class; }; GType nux_base_window_accessible_get_type(void); AtkObject* nux_base_window_accessible_new(nux::Object* object); void nux_base_window_accessible_check_active(NuxBaseWindowAccessible* self, nux::BaseWindow* active_window); G_END_DECLS #endif /* __NUX_BASE_WINDOW_ACCESSIBLE_H__ */