3 * This program is free software; you can redistribute it and/or modify it
4 * under the terms of the GNU Lesser General Public License as published by
5 * the Free Software Foundation.
7 * This program is distributed in the hope that it will be useful, but
8 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
9 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * You should have received a copy of the GNU Lesser General Public License
13 * along with this program; if not, see <http://www.gnu.org/licenses/>.
17 * Chris Lahey <clahey@ximian.com>
19 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
23 #if !defined (__E_UTIL_H_INSIDE__) && !defined (LIBEUTIL_COMPILATION)
24 #error "Only <e-util/e-util.h> should be included directly."
27 #ifndef E_SELECTION_MODEL_SIMPLE_H
28 #define E_SELECTION_MODEL_SIMPLE_H
30 #include <e-util/e-selection-model-array.h>
32 /* Standard GObject macros */
33 #define E_TYPE_SELECTION_MODEL_SIMPLE \
34 (e_selection_model_simple_get_type ())
35 #define E_SELECTION_MODEL_SIMPLE(obj) \
36 (G_TYPE_CHECK_INSTANCE_CAST \
37 ((obj), E_TYPE_SELECTION_MODEL_SIMPLE, ESelectionModelSimple))
38 #define E_SELECTION_MODEL_SIMPLE_CLASS(cls) \
39 (G_TYPE_CHECK_CLASS_CAST \
40 ((cls), E_TYPE_SELECTION_MODEL_SIMPLE, ESelectionModelSimpleClass))
41 #define E_IS_SELECTION_MODEL_SIMPLE(obj) \
42 (G_TYPE_CHECK_INSTANCE_TYPE \
43 ((obj), E_TYPE_SELECTION_MODEL_SIMPLE))
44 #define E_IS_SELECTION_MODEL_SIMPLE_CLASS(cls) \
45 (G_TYPE_CHECK_CLASS_TYPE \
46 ((cls), E_TYPE_SELECTION_MODEL_SIMPLE))
47 #define E_SELECTION_MODEL_SIMPLE_GET_CLASS(obj) \
48 (G_TYPE_INSTANCE_GET_CLASS \
49 ((obj), E_TYPE_SELECTION_MODEL_SIMPLE, ESelectionModelSimpleClass))
53 typedef struct _ESelectionModelSimple ESelectionModelSimple
;
54 typedef struct _ESelectionModelSimpleClass ESelectionModelSimpleClass
;
56 struct _ESelectionModelSimple
{
57 ESelectionModelArray parent
;
62 struct _ESelectionModelSimpleClass
{
63 ESelectionModelArrayClass parent_class
;
66 GType e_selection_model_simple_get_type
68 ESelectionModelSimple
*
69 e_selection_model_simple_new
71 void e_selection_model_simple_insert_rows
72 (ESelectionModelSimple
*selection
,
75 void e_selection_model_simple_delete_rows
76 (ESelectionModelSimple
*selection
,
79 void e_selection_model_simple_move_row
80 (ESelectionModelSimple
*selection
,
83 void e_selection_model_simple_set_row_count
84 (ESelectionModelSimple
*selection
,
89 #endif /* E_SELECTION_MODEL_SIMPLE_H */