Back to index

unity  6.0.0
nux-view-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_VIEW_ACCESSIBLE_H
00020 #define NUX_VIEW_ACCESSIBLE_H
00021 
00022 #include <atk/atk.h>
00023 
00024 #include "nux-area-accessible.h"
00025 
00026 #include <Nux/Nux.h>
00027 #include <Nux/View.h>
00028 
00029 G_BEGIN_DECLS
00030 
00031 #define NUX_TYPE_VIEW_ACCESSIBLE            (nux_view_accessible_get_type ())
00032 #define NUX_VIEW_ACCESSIBLE(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), NUX_TYPE_VIEW_ACCESSIBLE, NuxViewAccessible))
00033 #define NUX_VIEW_ACCESSIBLE_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), NUX_TYPE_VIEW_ACCESSIBLE, NuxViewAccessibleClass))
00034 #define NUX_IS_VIEW_ACCESSIBLE(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NUX_TYPE_VIEW_ACCESSIBLE))
00035 #define NUX_IS_VIEW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), NUX_TYPE_VIEW_ACCESSIBLE))
00036 #define NUX_VIEW_ACCESSIBLE_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), NUX_TYPE_VIEW_ACCESSIBLE, NuxViewAccessibleClass))
00037 
00038 typedef struct _NuxViewAccessible        NuxViewAccessible;
00039 typedef struct _NuxViewAccessibleClass   NuxViewAccessibleClass;
00040 typedef struct _NuxViewAccessiblePrivate NuxViewAccessiblePrivate;
00041 
00042 struct _NuxViewAccessible
00043 {
00044   NuxAreaAccessible parent;
00045 
00046   /*< private >*/
00047   NuxViewAccessiblePrivate* priv;
00048 };
00049 
00050 struct _NuxViewAccessibleClass
00051 {
00052   NuxAreaAccessibleClass parent_class;
00053 };
00054 
00055 GType      nux_view_accessible_get_type(void);
00056 AtkObject* nux_view_accessible_new(nux::Object* object);
00057 
00058 G_END_DECLS
00059 
00060 #endif /* __NUX_VIEW_ACCESSIBLE_H__ */