4 * This file is part of maevies
5 * Copyright (C) 2009 spenap <spenap@gmail.com>
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 3 of the
10 * License, or (at your option) any later version.
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
19 #ifndef MAEVIES_WINDOW_H_
20 #define MAEVIES_WINDOW_H_
22 #include <hildon/hildon.h>
25 #include "maevies_movie.h"
29 #define MAEVIES_TYPE_WINDOW maevies_window_get_type()
31 #define MAEVIES_WINDOW(obj) \
32 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
33 MAEVIES_TYPE_WINDOW, MaeviesWindow))
35 #define MAEVIES_WINDOW_CLASS(klass) \
36 (G_TYPE_CHECK_CLASS_CAST ((klass), \
37 MAEVIES_TYPE_WINDOW, MaeviesWindowClass))
39 #define MAEVIES_IS_WINDOW(obj) \
40 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
43 #define MAEVIES_IS_WINDOW_CLASS(klass) \
44 (G_TYPE_CHECK_CLASS_TYPE ((klass), \
47 #define MAEVIES_WINDOW_GET_CLASS(obj) \
48 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
49 MAEVIES_TYPE_WINDOW, MaeviesWindowClass))
51 typedef struct _MaeviesWindow MaeviesWindow;
52 typedef struct _MaeviesWindowClass MaeviesWindowClass;
54 struct _MaeviesWindow {
56 /* The Hildon window */
62 /* "Say hello world" button */
63 GtkWidget *hello_item;
68 struct _MaeviesWindowClass {
69 HildonWindowClass parent_class;
72 GType maevies_window_get_type(void);
74 MaeviesWindow* maevies_window_new(osso_context_t *osso);
78 #endif /* MAEVIES_WINDOW_H_ */