| 1 |
/* |
| 2 |
* This file is a part of hildon |
| 3 |
* |
| 4 |
* Copyright (C) 2005, 2008 Nokia Corporation. |
| 5 |
* |
| 6 |
* This library is free software; you can redistribute it and/or |
| 7 |
* modify it under the terms of the GNU Lesser General Public |
| 8 |
* License as published by the Free Software Foundation; either |
| 9 |
* version 2 of the License, or (at your option) any later version. or (at your option) any later version. |
| 10 |
* |
| 11 |
* This library is distributed in the hope that it will be useful, |
| 12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 |
* Lesser General Public License for more details. |
| 15 |
* |
| 16 |
* You should have received a copy of the GNU Lesser General Public |
| 17 |
* License along with this library; if not, write to the Free |
| 18 |
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 19 |
*/ |
| 20 |
|
| 21 |
#ifndef __HILDON_TOUCH_SELECTOR_COLUMN_H__ |
| 22 |
#define __HILDON_TOUCH_SELECTOR_COLUMN_H__ |
| 23 |
|
| 24 |
#include <gtk/gtk.h> |
| 25 |
|
| 26 |
G_BEGIN_DECLS |
| 27 |
|
| 28 |
#define HILDON_TYPE_TOUCH_SELECTOR_COLUMN \ |
| 29 |
(hildon_touch_selector_column_get_type ()) |
| 30 |
|
| 31 |
#define HILDON_TOUCH_SELECTOR_COLUMN(obj) \ |
| 32 |
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \ |
| 33 |
HILDON_TYPE_TOUCH_SELECTOR_COLUMN, HildonTouchSelectorColumn)) |
| 34 |
|
| 35 |
#define HILDON_TOUCH_SELECTOR_COLUMN_CLASS(klass) \ |
| 36 |
(G_TYPE_CHECK_CLASS_CAST ((klass), \ |
| 37 |
HILDON_TYPE_TOUCH_SELECTOR_COLUMN, HildonTouchSelectorColumnClass)) |
| 38 |
|
| 39 |
#define HILDON_IS_TOUCH_SELECTOR_COLUMN(obj) \ |
| 40 |
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \ |
| 41 |
HILDON_TYPE_TOUCH_SELECTOR_COLUMN)) |
| 42 |
|
| 43 |
#define HILDON_IS_TOUCH_SELECTOR_COLUMN_CLASS(klass) \ |
| 44 |
(G_TYPE_CHECK_CLASS_TYPE ((klass), \ |
| 45 |
HILDON_TYPE_TOUCH_SELECTOR_COLUMN)) |
| 46 |
|
| 47 |
#define HILDON_TOUCH_SELECTOR_COLUMN_GET_CLASS(obj) \ |
| 48 |
(G_TYPE_INSTANCE_GET_CLASS ((obj), \ |
| 49 |
HILDON_TYPE_TOUCH_SELECTOR_COLUMN, HildonTouchSelectorColumnClass)) |
| 50 |
|
| 51 |
typedef struct _HildonTouchSelectorColumn HildonTouchSelectorColumn; |
| 52 |
typedef struct _HildonTouchSelectorColumnClass HildonTouchSelectorColumnClass; |
| 53 |
typedef struct _HildonTouchSelectorColumnPrivate HildonTouchSelectorColumnPrivate; |
| 54 |
|
| 55 |
struct _HildonTouchSelectorColumn |
| 56 |
{ |
| 57 |
GObject parent; |
| 58 |
|
| 59 |
/* < private > */ |
| 60 |
HildonTouchSelectorColumnPrivate *priv; |
| 61 |
}; |
| 62 |
|
| 63 |
struct _HildonTouchSelectorColumnClass |
| 64 |
{ |
| 65 |
GObjectClass parent_class; |
| 66 |
}; |
| 67 |
|
| 68 |
GType |
| 69 |
hildon_touch_selector_column_get_type (void) G_GNUC_CONST; |
| 70 |
|
| 71 |
void |
| 72 |
hildon_touch_selector_column_set_text_column (HildonTouchSelectorColumn *column, |
| 73 |
gint text_column); |
| 74 |
gint |
| 75 |
hildon_touch_selector_column_get_text_column (HildonTouchSelectorColumn *column); |
| 76 |
|
| 77 |
G_END_DECLS |
| 78 |
|
| 79 |
|
| 80 |
#endif /*__HILDON_TOUCH_SELECTOR_COLUMN_H__ */ |