~taylorp36/ubuntu/wily/aisleriot/bug-1490189

« back to all changes in this revision

Viewing changes to src/ar-clutter-embed.h

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2011-09-26 12:54:22 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: package-import@ubuntu.com-20110926125422-fhnx2xyc0qcpgyh2
Tags: 1:3.2.0-0ubuntu1
* New upstream stable release.
  - Distribute a copy of the LGPL
  - Update card theme install info for Debian, Ubuntu & OpenSUSE
  - Build help with yelp-tools instead of gnome-doc-utils
  - Fix game restart
  - Translation updates
* debian/control: Build-depends on yelp-tools
* debian/copyright: Fixed a few lintian warnings
* 03_update_theme_install_data.patch: Dropped, applied upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright © 2009 Christian Persch <chpe@gnome.org>
3
 
 *
4
 
 * This program is free software: you can redistribute it and/or modify
5
 
 * it under the terms of the GNU General Public License as published by
6
 
 * the Free Software Foundation, either version 3 of the License, or
7
 
 * (at your option) any later version.
8
 
 *
9
 
 * This program 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
12
 
 * GNU General Public License for more details.
13
 
 *
14
 
 * You should have received a copy of the GNU General Public License
15
 
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
 
 */
17
 
 
18
 
#ifndef __AR_CLUTTER_EMBED_H__
19
 
#define __AR_CLUTTER_EMBED_H__
20
 
 
21
 
#include <clutter-gtk/clutter-gtk.h>
22
 
 
23
 
#include "ar-style.h"
24
 
#include "ar-cursor.h"
25
 
 
26
 
G_BEGIN_DECLS
27
 
 
28
 
#define AR_TYPE_CLUTTER_EMBED            (ar_clutter_embed_get_type())
29
 
#define AR_CLUTTER_EMBED(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), AR_TYPE_CLUTTER_EMBED, ArClutterEmbed))
30
 
#define AR_CLUTTER_EMBED_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass),  AR_TYPE_CLUTTER_EMBED, ArClutterEmbedClass))
31
 
#define AR_IS_CLUTTER_EMBED(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AR_TYPE_CLUTTER_EMBED))
32
 
#define AR_IS_CLUTTER_EMBED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),  AR_TYPE_CLUTTER_EMBED))
33
 
#define AR_CLUTTER_EMBED_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj),  AR_TYPE_CLUTTER_EMBED, ArClutterEmbedClass))
34
 
 
35
 
typedef struct _ArClutterEmbed        ArClutterEmbed;
36
 
typedef struct _ArClutterEmbedClass   ArClutterEmbedClass;
37
 
typedef struct _ArClutterEmbedPrivate ArClutterEmbedPrivate;
38
 
 
39
 
struct _ArClutterEmbed
40
 
{
41
 
  GtkClutterEmbed parent;
42
 
 
43
 
  /*< private >*/
44
 
  ArClutterEmbedPrivate *priv;
45
 
};
46
 
 
47
 
struct _ArClutterEmbedClass
48
 
{
49
 
  GtkClutterEmbedClass parent_class;
50
 
};
51
 
 
52
 
GType ar_clutter_embed_get_type (void);
53
 
 
54
 
ArClutterEmbed* ar_clutter_embed_new (ArStyle *style);
55
 
 
56
 
void ar_clutter_embed_set_cursor (ArClutterEmbed *embed,
57
 
                                  ArCursorType cursor_type);
58
 
 
59
 
G_END_DECLS
60
 
 
61
 
#endif /* __AR_CLUTTER_EMBED_H__ */