1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/other-licenses/atk-1.0/atk/atkplug.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,61 @@ 1.4 +/* ATK - Accessibility Toolkit 1.5 + * Copyright 2009 Novell, Inc. 1.6 + * 1.7 + * This library is free software; you can redistribute it and/or 1.8 + * modify it under the terms of the GNU Library General Public 1.9 + * License as published by the Free Software Foundation; either 1.10 + * version 2 of the License, or (at your option) any later version. 1.11 + * 1.12 + * This library is distributed in the hope that it will be useful, 1.13 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 1.14 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1.15 + * Library General Public License for more details. 1.16 + * 1.17 + * You should have received a copy of the GNU Library General Public 1.18 + * License along with this library; if not, write to the 1.19 + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, 1.20 + * Boston, MA 02111-1307, USA. 1.21 + */ 1.22 + 1.23 +#if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined (__ATK_H_INSIDE__) && !defined (ATK_COMPILATION) 1.24 +#error "Only <atk/atk.h> can be included directly." 1.25 +#endif 1.26 + 1.27 +#ifndef __ATK_PLUG_H__ 1.28 +#define __ATK_PLUG_H__ 1.29 + 1.30 +G_BEGIN_DECLS 1.31 + 1.32 +#define ATK_TYPE_PLUG (atk_plug_get_type ()) 1.33 +#define ATK_PLUG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATK_TYPE_PLUG, AtkPlug)) 1.34 +#define ATK_IS_PLUG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATK_TYPE_PLUG)) 1.35 +#define ATK_PLUG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ATK_TYPE_PLUG, AtkPlugClass)) 1.36 +#define ATK_IS_PLUG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ATK_TYPE_PLUG)) 1.37 +#define ATK_PLUG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ATK_TYPE_PLUG, AtkPlugClass)) 1.38 + 1.39 +typedef struct _AtkPlug AtkPlug; 1.40 +typedef struct _AtkPlugClass AtkPlugClass; 1.41 + 1.42 +struct _AtkPlug 1.43 +{ 1.44 + AtkObject parent; 1.45 +}; 1.46 + 1.47 +GType atk_plug_get_type (void); 1.48 + 1.49 +struct _AtkPlugClass 1.50 +{ 1.51 + AtkObjectClass parent_class; 1.52 + 1.53 + /* to be subscribed to by atk-bridge */ 1.54 + 1.55 + /*< protected >*/ 1.56 + gchar* (* get_object_id) (AtkPlug* obj); 1.57 +}; 1.58 + 1.59 +AtkObject* atk_plug_new (void); 1.60 +gchar* atk_plug_get_id (AtkPlug* plug); 1.61 + 1.62 +G_END_DECLS 1.63 + 1.64 +#endif /* __ATK_PLUG_H__ */