Back to index

unity  6.0.0
nux-base-window-accessible.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2011 Canonical Ltd
00003  *
00004  * This program is free software: you can redistribute it and/or modify
00005  * it under the terms of the GNU General Public License version 3 as
00006  * published by the Free Software Foundation.
00007  *
00008  * This program is distributed in the hope that it will be useful,
00009  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00010  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011  * GNU General Public License for more details.
00012  *
00013  * You should have received a copy of the GNU General Public License
00014  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
00015  *
00016  * Authored by: Alejandro PiƱeiro Iglesias <apinheiro@igalia.com>
00017  */
00018 
00019 #ifndef NUX_BASE_WINDOW_ACCESSIBLE_H
00020 #define NUX_BASE_WINDOW_ACCESSIBLE_H
00021 
00022 #include <atk/atk.h>
00023 
00024 #include <Nux/Nux.h>
00025 #include <Nux/BaseWindow.h>
00026 
00027 #include "nux-view-accessible.h"
00028 
00029 G_BEGIN_DECLS
00030 
00031 #define NUX_TYPE_BASE_WINDOW_ACCESSIBLE            (nux_base_window_accessible_get_type ())
00032 #define NUX_BASE_WINDOW_ACCESSIBLE(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), NUX_TYPE_BASE_WINDOW_ACCESSIBLE, NuxBaseWindowAccessible))
00033 #define NUX_BASE_WINDOW_ACCESSIBLE_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), NUX_TYPE_BASE_WINDOW_ACCESSIBLE, NuxBaseWindowAccessibleClass))
00034 #define NUX_IS_BASE_WINDOW_ACCESSIBLE(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NUX_TYPE_BASE_WINDOW_ACCESSIBLE))
00035 #define NUX_IS_BASE_WINDOW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), NUX_TYPE_BASE_WINDOW_ACCESSIBLE))
00036 #define NUX_BASE_WINDOW_ACCESSIBLE_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), NUX_TYPE_BASE_WINDOW_ACCESSIBLE, NuxBaseWindowAccessibleClass))
00037 
00038 typedef struct _NuxBaseWindowAccessible        NuxBaseWindowAccessible;
00039 typedef struct _NuxBaseWindowAccessibleClass   NuxBaseWindowAccessibleClass;
00040 typedef struct _NuxBaseWindowAccessiblePrivate NuxBaseWindowAccessiblePrivate;
00041 
00042 struct _NuxBaseWindowAccessible
00043 {
00044   NuxViewAccessible parent;
00045 
00046   /*< private >*/
00047   NuxBaseWindowAccessiblePrivate* priv;
00048 };
00049 
00050 struct _NuxBaseWindowAccessibleClass
00051 {
00052   NuxViewAccessibleClass parent_class;
00053 };
00054 
00055 GType      nux_base_window_accessible_get_type(void);
00056 AtkObject* nux_base_window_accessible_new(nux::Object* object);
00057 void       nux_base_window_accessible_check_active(NuxBaseWindowAccessible* self,
00058                                                    nux::BaseWindow* active_window);
00059 
00060 
00061 G_END_DECLS
00062 
00063 #endif /* __NUX_BASE_WINDOW_ACCESSIBLE_H__ */