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"
32 #define HILDON_TYPE_STACKABLE_WINDOW \
33 (hildon_stackable_window_get_type())
35 #define HILDON_STACKABLE_WINDOW(obj) \
36 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
37 HILDON_TYPE_STACKABLE_WINDOW, \
38 HildonStackableWindow))
40 #define HILDON_STACKABLE_WINDOW_CLASS(klass) \
41 (G_TYPE_CHECK_CLASS_CAST ((klass), \
42 HILDON_TYPE_STACKABLE_WINDOW, \
43 HildonStackableWindowClass))
45 #define HILDON_IS_STACKABLE_WINDOW(obj) \
46 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
47 HILDON_TYPE_STACKABLE_WINDOW))
49 #define HILDON_IS_STACKABLE_WINDOW_CLASS(klass) \
50 (G_TYPE_CHECK_CLASS_TYPE ((klass), \
51 HILDON_TYPE_STACKABLE_WINDOW))
53 #define HILDON_STACKABLE_WINDOW_GET_CLASS(obj) \
54 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
55 HILDON_TYPE_STACKABLE_WINDOW, \
56 HildonStackableWindowClass))
58 typedef struct _HildonStackableWindow HildonStackableWindow;
59 typedef struct _HildonStackableWindowClass HildonStackableWindowClass;
61 struct _HildonStackableWindowClass
63 HildonWindowClass parent_class;
65 /* Padding for future extension */
66 void (*_hildon_reserved1)(void);
67 void (*_hildon_reserved2)(void);
68 void (*_hildon_reserved3)(void);
69 void (*_hildon_reserved4)(void);
72 struct _HildonStackableWindow
78 hildon_stackable_window_get_type (void) G_GNUC_CONST;
81 hildon_stackable_window_new (void);
85 #endif /* __HILDON_STACKABLE_WINDOW_H__ */