2 * This file is part of hildon-libs
4 * Copyright (C) 2005, 2006 Nokia Corporation.
6 * Contact: Michael Dominic Kostrzewa <michael.kostrzewa@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
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
24 #ifndef __HILDON_VOLUMEBAR_PRIVATE__
25 #define __HILDON_VOLUMEBAR_PRIVATE__
27 #include <gtk/gtktogglebutton.h>
28 #include <hildon-widgets/hildon-volumebar-range.h>
31 #define HILDON_VOLUMEBAR_GET_PRIVATE(obj) \
32 (G_TYPE_INSTANCE_GET_PRIVATE ((obj), \
33 HILDON_TYPE_VOLUMEBAR, HildonVolumebarPrivate));
35 typedef struct _HildonVolumebarPrivate HildonVolumebarPrivate;
37 struct _HildonVolumebarPrivate {
38 HildonVolumebarRange *volumebar;
39 GtkToggleButton *tbutton;
40 gboolean is_toolbar; /* is inside toolbar (for horizontal volumebar) */
43 void _hildon_volumebar_mute_toggled(HildonVolumebar * self);
46 #endif /* __HILDON_VOLUMEBAR_PRIVATE__ */