~golfish/netbook-remix-launcher/desktop

« back to all changes in this revision

Viewing changes to src/launcher-background.h

  • Committer: Neil J. Patel
  • Date: 2008-04-16 11:31:15 UTC
  • Revision ID: njpatel@gmail.com-20080416113115-ztljg0qms79anijd
* Inital import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2007 Intel
 
3
 *
 
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.
 
8
 *
 
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.
 
13
 *
 
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.
 
18
 *
 
19
 * Authored by Neil Jagdish Patel <njp@o-hand.com>
 
20
 *
 
21
 */
 
22
 
 
23
#ifndef _HAVE_LAUNCHER_BACKGROUND_H
 
24
#define _HAVE_LAUNCHER_BACKGROUND_H
 
25
 
 
26
#include <glib.h>
 
27
#include <clutter/clutter.h>
 
28
 
 
29
G_BEGIN_DECLS
 
30
 
 
31
#define LAUNCHER_TYPE_BACKGROUND (launcher_background_get_type ())
 
32
 
 
33
#define LAUNCHER_BACKGROUND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
 
34
        LAUNCHER_TYPE_BACKGROUND, LauncherBackground))
 
35
 
 
36
#define LAUNCHER_BACKGROUND_CLASS(klass) \
 
37
        (G_TYPE_CHECK_CLASS_CAST ((klass), \
 
38
        LAUNCHER_TYPE_BACKGROUND, LauncherBackgroundClass))
 
39
 
 
40
#define LAUNCHER_IS_BACKGROUND(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
 
41
        LAUNCHER_TYPE_BACKGROUND))
 
42
 
 
43
#define LAUNCHER_IS_BACKGROUND_CLASS(klass) \
 
44
        (G_TYPE_CHECK_CLASS_TYPE ((klass), LAUNCHER_TYPE_BACKGROUND))
 
45
 
 
46
#define LAUNCHER_BACKGROUND_GET_CLASS(obj) \
 
47
        (G_TYPE_INSTANCE_GET_CLASS ((obj), \
 
48
        LAUNCHER_TYPE_BACKGROUND, LauncherBackgroundClass))
 
49
 
 
50
typedef struct _LauncherBackground LauncherBackground;
 
51
typedef struct _LauncherBackgroundClass LauncherBackgroundClass;
 
52
typedef struct _LauncherBackgroundPrivate LauncherBackgroundPrivate;
 
53
 
 
54
struct _LauncherBackground
 
55
{
 
56
  ClutterGroup         parent; 
 
57
  
 
58
  /*< private >*/
 
59
  LauncherBackgroundPrivate   *priv;
 
60
};
 
61
 
 
62
struct _LauncherBackgroundClass 
 
63
{
 
64
  /*< private >*/
 
65
  ClutterGroupClass    parent_class;
 
66
 
 
67
  /* future padding */
 
68
  void (*_launcher_background_1) (void);
 
69
  void (*_launcher_background_2) (void);
 
70
  void (*_launcher_background_3) (void);
 
71
  void (*_launcher_background_4) (void);
 
72
};
 
73
 
 
74
GType launcher_background_get_type (void) G_GNUC_CONST;
 
75
 
 
76
ClutterActor *
 
77
launcher_background_new (void);
 
78
 
 
79
G_END_DECLS
 
80
 
 
81
#endif /* _HAVE_LAUNCHER_BACKGROUND_H */