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

Revision 18142, 2.3 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18141, 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.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_H_
24#define _E_SHORTCUTS_VIEW_H_
25
26#include <gtk/gtkwidget.h>
27
28#include <gal/shortcut-bar/e-shortcut-bar.h>
29#include "e-shortcuts.h"
30
31#ifdef __cplusplus
32extern "C" {
33#pragma }
34#endif /* __cplusplus */
35
36#define E_TYPE_SHORTCUTS_VIEW                   (e_shortcuts_view_get_type ())
37#define E_SHORTCUTS_VIEW(obj)                   (GTK_CHECK_CAST ((obj), E_TYPE_SHORTCUTS_VIEW, EShortcutsView))
38#define E_SHORTCUTS_VIEW_CLASS(klass)           (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_SHORTCUTS_VIEW, EShortcutsViewClass))
39#define E_IS_SHORTCUTS_VIEW(obj)                (GTK_CHECK_TYPE ((obj), E_TYPE_SHORTCUTS_VIEW))
40#define E_IS_SHORTCUTS_VIEW_CLASS(klass)        (GTK_CHECK_CLASS_TYPE ((obj), E_TYPE_SHORTCUTS_VIEW))
41
42
43typedef struct _EShortcutsView        EShortcutsView;
44typedef struct _EShortcutsViewPrivate EShortcutsViewPrivate;
45typedef struct _EShortcutsViewClass   EShortcutsViewClass;
46
47struct _EShortcutsView {
48        EShortcutBar parent;
49
50        EShortcutsViewPrivate *priv;
51};
52
53struct _EShortcutsViewClass {
54        EShortcutBarClass parent_class;
55
56        void (* activate_shortcut) (EShortcutsView *view,
57                                    EShortcuts *shortcuts,
58                                    const char *uri,
59                                    gboolean in_new_window);
60
61        void (* hide_requested) (EShortcutsView *view);
62};
63
64
65GtkType    e_shortcuts_view_get_type   (void);
66void       e_shortcuts_view_construct  (EShortcutsView *shortcuts_view,
67                                        EShortcuts     *shortcuts);
68GtkWidget *e_shortcuts_view_new        (EShortcuts     *shortcuts);
69
70#ifdef __cplusplus
71}
72#endif /* __cplusplus */
73
74#endif /* _E_SHORTCUTS_VIEW_H_ */
Note: See TracBrowser for help on using the repository browser.