source: trunk/third/evolution/shell/evolution-shell-client.h @ 18142

Revision 18142, 3.9 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/* evolution-shell-client.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_SHELL_CLIENT_H__
24#define __EVOLUTION_SHELL_CLIENT_H__
25
26#include <bonobo/bonobo-object-client.h>
27#include <gtk/gtkwindow.h>
28#include <gdk-pixbuf/gdk-pixbuf.h>
29
30#include "Evolution.h"
31
32#ifdef __cplusplus
33extern "C" {
34#pragma }
35#endif /* __cplusplus */
36
37#define EVOLUTION_TYPE_SHELL_CLIENT                     (evolution_shell_client_get_type ())
38#define EVOLUTION_SHELL_CLIENT(obj)                     (GTK_CHECK_CAST ((obj), EVOLUTION_TYPE_SHELL_CLIENT, EvolutionShellClient))
39#define EVOLUTION_SHELL_CLIENT_CLASS(klass)             (GTK_CHECK_CLASS_CAST ((klass), EVOLUTION_TYPE_SHELL_CLIENT, EvolutionShellClientClass))
40#define EVOLUTION_IS_SHELL_CLIENT(obj)                  (GTK_CHECK_TYPE ((obj), EVOLUTION_TYPE_SHELL_CLIENT))
41#define EVOLUTION_IS_SHELL_CLIENT_CLASS(klass)          (GTK_CHECK_CLASS_TYPE ((obj), EVOLUTION_TYPE_SHELL_CLIENT))
42
43
44typedef struct _EvolutionShellClient        EvolutionShellClient;
45typedef struct _EvolutionShellClientPrivate EvolutionShellClientPrivate;
46typedef struct _EvolutionShellClientClass   EvolutionShellClientClass;
47
48struct _EvolutionShellClient {
49        BonoboObjectClient parent;
50
51        EvolutionShellClientPrivate *priv;
52};
53
54struct _EvolutionShellClientClass {
55        BonoboObjectClientClass parent_class;
56};
57
58
59GtkType                 evolution_shell_client_get_type            (void);
60void                    evolution_shell_client_construct           (EvolutionShellClient  *shell_client,
61                                                                    GNOME_Evolution_Shell        corba_shell);
62EvolutionShellClient   *evolution_shell_client_new                 (GNOME_Evolution_Shell        shell);
63
64void                    evolution_shell_client_user_select_folder  (EvolutionShellClient    *shell_client,
65                                                                    GtkWindow               *parent,
66                                                                    const char              *title,
67                                                                    const char              *default_folder,
68                                                                    const char             **possible_types,
69                                                                    GNOME_Evolution_Folder **folder_return);
70
71GNOME_Evolution_Activity        evolution_shell_client_get_activity_interface         (EvolutionShellClient *shell_client);
72GNOME_Evolution_Shortcuts       evolution_shell_client_get_shortcuts_interface        (EvolutionShellClient *shell_client);
73GNOME_Evolution_StorageRegistry evolution_shell_client_get_storage_registry_interface (EvolutionShellClient *shell_client);
74
75GNOME_Evolution_Storage  evolution_shell_client_get_local_storage        (EvolutionShellClient *shell_client);
76
77void                     evolution_shell_client_set_line_status          (EvolutionShellClient *shell_client,
78                                                                          gboolean              online);
79
80GdkPixbuf               *evolution_shell_client_get_pixbuf_for_type      (EvolutionShellClient *shell_client,
81                                                                          const char           *folder_type,
82                                                                          gboolean              mini);
83
84GtkWidget *evolution_shell_client_create_storage_set_view  (EvolutionShellClient           *shell_client,
85                                                            Bonobo_UIComponent              uic,
86                                                            Bonobo_Control                 *bonobo_control_iface_return,
87                                                            GNOME_Evolution_StorageSetView *storage_set_view_iface_return,
88                                                            CORBA_Environment              *ev);
89
90#ifdef __cplusplus
91}
92#endif /* __cplusplus */
93
94#endif /* __EVOLUTION_SHELL_CLIENT_H__ */
Note: See TracBrowser for help on using the repository browser.