2 * Copyright (C) 2007 OpenedHand Limited
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
19 * Author: Neil Jagdish Patel <njp@o-hand.com>
24 #include <clutter/clutter.h>
25 #include <libastro-desktop/astro-application.h>
27 #ifndef _HAVE_ASTRO_EXAMPLE2_H
28 #define _HAVE_ASTRO_EXAMPLE2_H
32 #define ASTRO_TYPE_EXAMPLE2 astro_example2_get_type()
34 #define ASTRO_EXAMPLE2(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
35 ASTRO_TYPE_EXAMPLE2, \
38 #define ASTRO_EXAMPLE2_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),\
39 ASTRO_TYPE_EXAMPLE2, \
42 #define ASTRO_IS_EXAMPLE2(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
45 #define ASTRO_IS_EXAMPLE2_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
48 #define ASTRO_EXAMPLE2_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),\
49 ASTRO_TYPE_EXAMPLE2, \
52 typedef struct _AstroExample2 AstroExample2;
53 typedef struct _AstroExample2Class AstroExample2Class;
54 typedef struct _AstroExample2Private AstroExample2Private;
58 AstroApplication parent;
61 AstroExample2Private *priv;
64 struct _AstroExample2Class
67 AstroApplicationClass parent_class;
70 GType astro_example2_get_type (void) G_GNUC_CONST;
72 AstroApplication * astro_example2_new (const gchar *title,