Updated Traditional Chinese translation(Hong Kong and Taiwan)
[evolution.git] / calendar / gui / e-memo-list-selector.h
blobc10cff2a2e4027d8a4ed4f881395a1e3a3e23816
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2 /* e-memo-list-selector.h
4 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of version 2 of the GNU General Public
8 * License as published by the Free Software Foundation.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU General Public
16 * License along with this program; if not, write to the
17 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
21 /* XXX This widget is nearly identical to ETaskListSelector. If
22 * ECalendarSelector ever learns how to move selections from
23 * one source to another, perhaps these ESourceSelector sub-
24 * classes could someday be combined. */
26 #ifndef E_MEMO_LIST_SELECTOR_H
27 #define E_MEMO_LIST_SELECTOR_H
29 #include <libedataserver/e-source-list.h>
30 #include <libedataserverui/e-source-selector.h>
32 /* Standard GObject macros */
33 #define E_TYPE_MEMO_LIST_SELECTOR \
34 (e_memo_list_selector_get_type ())
35 #define E_MEMO_LIST_SELECTOR(obj) \
36 (G_TYPE_CHECK_INSTANCE_CAST \
37 ((obj), E_TYPE_MEMO_LIST_SELECTOR, EMemoListSelector))
38 #define E_MEMO_LIST_SELECTOR_CLASS(cls) \
39 (G_TYPE_CHECK_CLASS_CAST \
40 ((cls), E_TYPE_MEMO_LIST_SELECTOR, EMemoListSelectorClass))
41 #define E_IS_MEMO_LIST_SELECTOR(obj) \
42 (G_TYPE_CHECK_INSTANCE_TYPE \
43 ((obj), E_TYPE_MEMO_LIST_SELECTOR))
44 #define E_IS_MEMO_LIST_SELECTOR_CLASS(cls) \
45 (G_TYPE_CHECK_CLASS_TYPE \
46 ((cls), E_TYPE_MEMO_LIST_SELECTOR))
47 #define E_MEMO_LIST_SELECTOR_GET_CLASS(obj) \
48 (G_TYPE_INSTANCE_GET_CLASS \
49 ((obj), E_TYPE_MEMO_LIST_SELECTOR, EMemoListSelectorClass))
51 G_BEGIN_DECLS
53 typedef struct _EMemoListSelector EMemoListSelector;
54 typedef struct _EMemoListSelectorClass EMemoListSelectorClass;
55 typedef struct _EMemoListSelectorPrivate EMemoListSelectorPrivate;
57 struct _EMemoListSelector {
58 ESourceSelector parent;
59 EMemoListSelectorPrivate *priv;
62 struct _EMemoListSelectorClass {
63 ESourceSelectorClass parent_class;
66 GType e_memo_list_selector_get_type (void);
67 GtkWidget * e_memo_list_selector_new (ESourceList *source_list);
69 G_END_DECLS
71 #endif /* E_MEMO_LIST_SELECTOR_H */