2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
[hildon] / hildon-widgets / hildon-volumebar-private.h
1 /*
2  * This file is part of hildon-libs
3  *
4  * Copyright (C) 2005 Nokia Corporation.
5  *
6  * Contact: Luc Pionchon <luc.pionchon@nokia.com>
7  *
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; either version 2.1 of
11  * the License, or (at your option) any later version.
12  *
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.
17  *
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
21  * 02110-1301 USA
22  *
23  */
24 #ifndef __HILDON_VOLUMEBAR_PRIVATE__
25 #define __HILDON_VOLUMEBAR_PRIVATE__
26
27 #define HILDON_VOLUMEBAR_GET_PRIVATE(obj) \
28         (G_TYPE_INSTANCE_GET_PRIVATE ((obj), \
29         HILDON_TYPE_VOLUMEBAR, HildonVolumebarPrivate));
30
31 typedef struct _HildonVolumebarPrivate HildonVolumebarPrivate;
32
33 struct _HildonVolumebarPrivate {
34   HildonVolumebarRange *volumebar;
35
36   GtkOrientation orientation;
37   GtkOrientation ownorientation;
38   GtkToggleButton *tbutton;
39
40   gboolean is_toolbar;
41 };
42
43 #endif /* __HILDON_VOLUMEBAR_PRIVATE__ */