source: trunk/third/evolution/shell/e-shortcuts-view-model.h @ 16787

Revision 16787, 2.3 KB checked in by ghudson, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r16786, which included commits to RCS files with non-trunk default branches.
Line 
1/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2/* e-shortcuts-view-model.h
3 *
4 * Copyright (C) 2000  Ximian, Inc.
5 *
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.
9 *
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.
14 *
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., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
19 *
20 * Author: Ettore Perazzoli
21 */
22
23#ifndef _E_SHORTCUTS_VIEW_MODEL_H_
24#define _E_SHORTCUTS_VIEW_MODEL_H_
25
26#include <gal/shortcut-bar/e-shortcut-model.h>
27
28#include "e-shortcuts.h"
29
30#ifdef __cplusplus
31extern "C" {
32#pragma }
33#endif /* __cplusplus */
34
35#define E_TYPE_SHORTCUTS_VIEW_MODEL                     (e_shortcuts_view_model_get_type ())
36#define E_SHORTCUTS_VIEW_MODEL(obj)                     (GTK_CHECK_CAST ((obj), E_TYPE_SHORTCUTS_VIEW_MODEL, EShortcutsViewModel))
37#define E_SHORTCUTS_VIEW_MODEL_CLASS(klass)             (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_SHORTCUTS_VIEW_MODEL, EShortcutsViewModelClass))
38#define E_IS_SHORTCUTS_VIEW_MODEL(obj)                  (GTK_CHECK_TYPE ((obj), E_TYPE_SHORTCUTS_VIEW_MODEL))
39#define E_IS_SHORTCUTS_VIEW_MODEL_CLASS(klass)          (GTK_CHECK_CLASS_TYPE ((obj), E_TYPE_SHORTCUTS_VIEW_MODEL))
40
41
42typedef struct _EShortcutsViewModel        EShortcutsViewModel;
43typedef struct _EShortcutsViewModelPrivate EShortcutsViewModelPrivate;
44typedef struct _EShortcutsViewModelClass   EShortcutsViewModelClass;
45
46struct _EShortcutsViewModel {
47        EShortcutModel parent;
48
49        EShortcutsViewModelPrivate *priv;
50};
51
52struct _EShortcutsViewModelClass {
53        EShortcutModelClass parent_class;
54};
55
56
57GtkType              e_shortcuts_view_model_get_type   (void);
58void                 e_shortcuts_view_model_construct  (EShortcutsViewModel *model,
59                                                        EShortcuts          *shortcuts);
60EShortcutsViewModel *e_shortcuts_view_model_new        (EShortcuts          *shortcuts);
61
62#ifdef __cplusplus
63}
64#endif /* __cplusplus */
65
66#endif /* _E_SHORTCUTS_VIEW_MODEL_H_ */
Note: See TracBrowser for help on using the repository browser.