2 * This file is a part of hildon
4 * Copyright (C) 2008 Nokia Corporation, all rights reserved.
6 * Contact: Karl Lattimer <karl.lattimer@nokia.com>
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public License
10 * as published by the Free Software Foundation; version 2.1 of
11 * the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
25 #ifndef __HILDON_STACKABLE_WINDOW_H__
26 #define __HILDON_STACKABLE_WINDOW_H__
28 #include "hildon-window.h"
29 #include "hildon-app-menu.h"
33 #define HILDON_TYPE_STACKABLE_WINDOW \
34 (hildon_stackable_window_get_type())
36 #define HILDON_STACKABLE_WINDOW(obj) \
37 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
38 HILDON_TYPE_STACKABLE_WINDOW, \
39 HildonStackableWindow))
41 #define HILDON_STACKABLE_WINDOW_CLASS(klass) \
42 (G_TYPE_CHECK_CLASS_CAST ((klass), \
43 HILDON_TYPE_STACKABLE_WINDOW, \
44 HildonStackableWindowClass))
46 #define HILDON_IS_STACKABLE_WINDOW(obj) \
47 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
48 HILDON_TYPE_STACKABLE_WINDOW))
50 #define HILDON_IS_STACKABLE_WINDOW_CLASS(klass) \
51 (G_TYPE_CHECK_CLASS_TYPE ((klass), \
52 HILDON_TYPE_STACKABLE_WINDOW))
54 #define HILDON_STACKABLE_WINDOW_GET_CLASS(obj) \
55 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
56 HILDON_TYPE_STACKABLE_WINDOW, \
57 HildonStackableWindowClass))
59 typedef struct _HildonStackableWindow HildonStackableWindow;
60 typedef struct _HildonStackableWindowClass HildonStackableWindowClass;
62 struct _HildonStackableWindowClass
64 HildonWindowClass parent_class;
66 /* Padding for future extension */
67 void (*_hildon_reserved1)(void);
68 void (*_hildon_reserved2)(void);
69 void (*_hildon_reserved3)(void);
70 void (*_hildon_reserved4)(void);
73 struct _HildonStackableWindow
79 hildon_stackable_window_get_type (void) G_GNUC_CONST;
82 hildon_stackable_window_new (void);
85 hildon_stackable_window_set_main_menu (HildonStackableWindow *self,
90 #endif /* __HILDON_STACKABLE_WINDOW_H__ */