~ubuntu-branches/ubuntu/trusty/gnome-games/trusty

« back to all changes in this revision

Viewing changes to libgames-support/games-frame.h

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2012-08-08 09:42:59 UTC
  • mfrom: (1.1.111)
  • Revision ID: package-import@ubuntu.com-20120808094259-xa1qjf2bvb22cnie
Tags: 1:3.5.5-0ubuntu1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
3
 
 * Copyright © 2009 Christian Persch
4
 
 *
5
 
 * This library is free software; you can redistribute it and/or
6
 
 * modify it under the terms of the GNU Lesser General Public
7
 
 * License as published by the Free Software Foundation; either
8
 
 * version 2.1 of the License, or (at your option) any later version.
9
 
 *
10
 
 * This library is distributed in the hope that it will be useful,
11
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13
 
 * Lesser General Public License for more details.
14
 
 *
15
 
 * You should have received a copy of the GNU Lesser General Public
16
 
 * License along with this library; if not, write to the
17
 
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18
 
 * Boston, MA 02111-1307, USA.
19
 
 */
20
 
 
21
 
#ifndef GAMES_FRAME_H
22
 
#define GAMES_FRAME_H
23
 
 
24
 
#include <gtk/gtk.h>
25
 
 
26
 
G_BEGIN_DECLS
27
 
 
28
 
#define GAMES_TYPE_FRAME            (games_frame_get_type ())
29
 
#define GAMES_FRAME(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAMES_TYPE_FRAME, GamesFrame))
30
 
#define GAMES_FRAME_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GAMES_TYPE_FRAME, GamesFrameClass))
31
 
#define GAMES_IS_FRAME(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAMES_TYPE_FRAME))
32
 
#define GAMES_IS_FRAME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GAMES_TYPE_FRAME))
33
 
#define GAMES_FRAME_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), GAMES_TYPE_FRAME, GamesFrameClass))
34
 
 
35
 
typedef struct GamesFramePrivate GamesFramePrivate;
36
 
 
37
 
typedef struct {
38
 
  GtkBox parent_instance;
39
 
  /*< private >*/
40
 
  GamesFramePrivate *priv;
41
 
} GamesFrame;
42
 
 
43
 
typedef struct {
44
 
  GtkBoxClass parent_class;
45
 
} GamesFrameClass;
46
 
 
47
 
GType      games_frame_get_type  (void);
48
 
GtkWidget *games_frame_new       (const char *label);
49
 
void       games_frame_set_label (GamesFrame *frame,
50
 
                                  const char *label);
51
 
 
52
 
G_END_DECLS
53
 
 
54
 
#endif /* !GAMES_FRAME_H */