source: trunk/third/evolution/shell/evolution-storage-set-view-listener.h @ 16787

Revision 16787, 3.2 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/* evolution-storage-set-view-listener.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 _EVOLUTION_STORAGE_SET_VIEW_LISTENER_H_
24#define _EVOLUTION_STORAGE_SET_VIEW_LISTENER_H_
25
26#include <gtk/gtkobject.h>
27
28#include "Evolution.h"
29
30#ifdef __cplusplus
31extern "C" {
32#pragma }
33#endif /* __cplusplus */
34
35#define EVOLUTION_TYPE_STORAGE_SET_VIEW_LISTENER                (evolution_storage_set_view_listener_get_type ())
36#define EVOLUTION_STORAGE_SET_VIEW_LISTENER(obj)                (GTK_CHECK_CAST ((obj), EVOLUTION_TYPE_STORAGE_SET_VIEW_LISTENER, EvolutionStorageSetViewListener))
37#define EVOLUTION_STORAGE_SET_VIEW_LISTENER_CLASS(klass)        (GTK_CHECK_CLASS_CAST ((klass), EVOLUTION_TYPE_STORAGE_SET_VIEW_LISTENER, EvolutionStorageSetViewListenerClass))
38#define EVOLUTION_IS_STORAGE_SET_VIEW_LISTENER(obj)             (GTK_CHECK_TYPE ((obj), EVOLUTION_TYPE_STORAGE_SET_VIEW_LISTENER))
39#define EVOLUTION_IS_STORAGE_SET_VIEW_LISTENER_CLASS(klass)     (GTK_CHECK_CLASS_TYPE ((obj), EVOLUTION_TYPE_STORAGE_SET_VIEW_LISTENER))
40
41
42typedef struct _EvolutionStorageSetViewListener        EvolutionStorageSetViewListener;
43typedef struct _EvolutionStorageSetViewListenerPrivate EvolutionStorageSetViewListenerPrivate;
44typedef struct _EvolutionStorageSetViewListenerClass   EvolutionStorageSetViewListenerClass;
45
46struct _EvolutionStorageSetViewListener {
47        GtkObject parent;
48
49        EvolutionStorageSetViewListenerPrivate *priv;
50};
51
52struct _EvolutionStorageSetViewListenerClass {
53        GtkObjectClass parent_class;
54
55        void (* folder_selected) (EvolutionStorageSetViewListener *listener,
56                                  const char *uri);
57        void (* storage_selected) (EvolutionStorageSetViewListener *listener,
58                                   const char *uri);
59};
60
61
62struct _EvolutionStorageSetViewListenerServant {
63        POA_GNOME_Evolution_StorageSetViewListener servant_placeholder;
64        EvolutionStorageSetViewListener *gtk_object;
65};
66typedef struct _EvolutionStorageSetViewListenerServant EvolutionStorageSetViewListenerServant;
67
68
69GtkType                          evolution_storage_set_view_listener_get_type      (void);
70void                             evolution_storage_set_view_listener_construct     (EvolutionStorageSetViewListener  *listener,
71                                                                                    GNOME_Evolution_StorageSetViewListener  corba_objref);
72EvolutionStorageSetViewListener *evolution_storage_set_view_listener_new           (void);
73
74GNOME_Evolution_StorageSetViewListener evolution_storage_set_view_listener_corba_objref  (EvolutionStorageSetViewListener *listener);
75
76#ifdef __cplusplus
77}
78#endif /* __cplusplus */
79
80#endif /* _EVOLUTION_STORAGE_SET_VIEW_LISTENER_H_ */
Note: See TracBrowser for help on using the repository browser.