2
* Copyright (C) 2007 Intel
4
* This program is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU 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
* Lesser General Public License for more details.
14
* You should have received a copy of the GNU 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
* Authored by Neil Jagdish Patel <njp@o-hand.com>
23
#ifndef _HAVE_LAUNCHER_BACKGROUND_H
24
#define _HAVE_LAUNCHER_BACKGROUND_H
27
#include <clutter/clutter.h>
31
#define LAUNCHER_TYPE_BACKGROUND (launcher_background_get_type ())
33
#define LAUNCHER_BACKGROUND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
34
LAUNCHER_TYPE_BACKGROUND, LauncherBackground))
36
#define LAUNCHER_BACKGROUND_CLASS(klass) \
37
(G_TYPE_CHECK_CLASS_CAST ((klass), \
38
LAUNCHER_TYPE_BACKGROUND, LauncherBackgroundClass))
40
#define LAUNCHER_IS_BACKGROUND(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
41
LAUNCHER_TYPE_BACKGROUND))
43
#define LAUNCHER_IS_BACKGROUND_CLASS(klass) \
44
(G_TYPE_CHECK_CLASS_TYPE ((klass), LAUNCHER_TYPE_BACKGROUND))
46
#define LAUNCHER_BACKGROUND_GET_CLASS(obj) \
47
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
48
LAUNCHER_TYPE_BACKGROUND, LauncherBackgroundClass))
50
typedef struct _LauncherBackground LauncherBackground;
51
typedef struct _LauncherBackgroundClass LauncherBackgroundClass;
52
typedef struct _LauncherBackgroundPrivate LauncherBackgroundPrivate;
54
struct _LauncherBackground
59
LauncherBackgroundPrivate *priv;
62
struct _LauncherBackgroundClass
65
ClutterGroupClass parent_class;
68
void (*_launcher_background_1) (void);
69
void (*_launcher_background_2) (void);
70
void (*_launcher_background_3) (void);
71
void (*_launcher_background_4) (void);
74
GType launcher_background_get_type (void) G_GNUC_CONST;
77
launcher_background_new (void);
81
#endif /* _HAVE_LAUNCHER_BACKGROUND_H */