2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU General Public License as
4 * published by the Free Software Foundation; either version 2 of the
5 * License, or (at your option) any later version.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10 * General Public License for more details.
12 * You should have received a copy of the GNU General Public
13 * License along with this program; if not, write to the
14 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
15 * Boston, MA 02110-1301 USA
17 * Authors: Travis Reitter <treitter@gmail.com>
20 #ifndef _MILK_MAIN_WINDOW_H
21 #define _MILK_MAIN_WINDOW_H
23 #include <hildon/hildon.h>
27 #define MILK_TYPE_MAIN_WINDOW milk_main_window_get_type()
29 #define MILK_MAIN_WINDOW(obj) \
30 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
31 MILK_TYPE_MAIN_WINDOW, MilkMainWindow))
33 #define MILK_MAIN_WINDOW_CLASS(klass) \
34 (G_TYPE_CHECK_CLASS_CAST ((klass), \
35 MILK_TYPE_MAIN_WINDOW, MilkMainWindowClass))
37 #define MILK_IS_MAIN_WINDOW(obj) \
38 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
39 MILK_TYPE_MAIN_WINDOW))
41 #define MILK_IS_MAIN_WINDOW_CLASS(klass) \
42 (G_TYPE_CHECK_CLASS_TYPE ((klass), \
43 MILK_TYPE_MAIN_WINDOW))
45 #define MILK_MAIN_WINDOW_GET_CLASS(obj) \
46 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
47 MILK_TYPE_MAIN_WINDOW, MilkMainWindowClass))
49 typedef struct _MilkMainWindow MilkMainWindow;
50 typedef struct _MilkMainWindowClass MilkMainWindowClass;
51 typedef struct _MilkMainWindowPrivate MilkMainWindowPrivate;
53 struct _MilkMainWindow
56 MilkMainWindowPrivate *priv;
59 struct _MilkMainWindowClass
61 HildonWindowClass parent_class;
64 GType milk_main_window_get_type (void);
67 GtkWidget* milk_main_window_get_default (void);
69 #endif /* _MILK_MAIN_WINDOW_H */