aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-shell-component.h
diff options
context:
space:
mode:
Diffstat (limited to 'shell/evolution-shell-component.h')
-rw-r--r--shell/evolution-shell-component.h214
1 files changed, 0 insertions, 214 deletions
diff --git a/shell/evolution-shell-component.h b/shell/evolution-shell-component.h
deleted file mode 100644
index c162e1e8a6..0000000000
--- a/shell/evolution-shell-component.h
+++ /dev/null
@@ -1,214 +0,0 @@
-/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
-/* evolution-shell-component.h
- *
- * Copyright (C) 2000, 2001 Ximian, Inc.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of version 2 of the GNU General Public
- * License as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public
- * License along with this program; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
- *
- * Author: Ettore Perazzoli
- */
-
-#ifndef EVOLUTION_SHELL_COMPONENT_H
-#define EVOLUTION_SHELL_COMPONENT_H
-
-#include "Evolution.h"
-
-#include "evolution-shell-client.h"
-
-#include <gdk-pixbuf/gdk-pixbuf.h>
-
-#include <bonobo/bonobo-xobject.h>
-#include <bonobo/bonobo-control.h>
-
-#ifdef cplusplus
-extern "C" {
-#pragma }
-#endif /* cplusplus */
-
-#define EVOLUTION_TYPE_SHELL_COMPONENT (evolution_shell_component_get_type ())
-#define EVOLUTION_SHELL_COMPONENT(obj) (GTK_CHECK_CAST ((obj), EVOLUTION_TYPE_SHELL_COMPONENT, EvolutionShellComponent))
-#define EVOLUTION_SHELL_COMPONENT_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), EVOLUTION_TYPE_SHELL_COMPONENT, EvolutionShellComponentClass))
-#define EVOLUTION_IS_SHELL_COMPONENT(obj) (GTK_CHECK_TYPE ((obj), EVOLUTION_TYPE_SHELL_COMPONENT))
-#define EVOLUTION_IS_SHELL_COMPONENT_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), EVOLUTION_TYPE_SHELL_COMPONENT))
-
-#define EVOLUTION_SHELL_COMPONENT_POPUP_PLACEHOLDER "/popups/FolderPopup/ComponentPlaceholder/Items"
-
-
-typedef struct _EvolutionShellComponent EvolutionShellComponent;
-typedef struct _EvolutionShellComponentPrivate EvolutionShellComponentPrivate;
-typedef struct _EvolutionShellComponentClass EvolutionShellComponentClass;
-
-enum _EvolutionShellComponentResult {
- EVOLUTION_SHELL_COMPONENT_OK,
- EVOLUTION_SHELL_COMPONENT_CANCEL,
- EVOLUTION_SHELL_COMPONENT_CORBAERROR,
- EVOLUTION_SHELL_COMPONENT_INTERRUPTED,
- EVOLUTION_SHELL_COMPONENT_INVALIDARG,
- EVOLUTION_SHELL_COMPONENT_ALREADYOWNED,
- EVOLUTION_SHELL_COMPONENT_NOTOWNED,
- EVOLUTION_SHELL_COMPONENT_NOTFOUND,
- EVOLUTION_SHELL_COMPONENT_UNSUPPORTEDTYPE,
- EVOLUTION_SHELL_COMPONENT_UNSUPPORTEDSCHEMA,
- EVOLUTION_SHELL_COMPONENT_UNSUPPORTEDOPERATION,
- EVOLUTION_SHELL_COMPONENT_INTERNALERROR,
- EVOLUTION_SHELL_COMPONENT_BUSY,
- EVOLUTION_SHELL_COMPONENT_EXISTS,
- EVOLUTION_SHELL_COMPONENT_INVALIDURI,
- EVOLUTION_SHELL_COMPONENT_PERMISSIONDENIED,
- EVOLUTION_SHELL_COMPONENT_HASSUBFOLDERS,
- EVOLUTION_SHELL_COMPONENT_NOSPACE,
- EVOLUTION_SHELL_COMPONENT_OLDOWNERHASDIED,
- EVOLUTION_SHELL_COMPONENT_UNKNOWNERROR
-};
-typedef enum _EvolutionShellComponentResult EvolutionShellComponentResult;
-
-typedef EvolutionShellComponentResult (* EvolutionShellComponentCreateViewFn)
- (EvolutionShellComponent *shell_component,
- const char *physical_uri,
- const char *type,
- const char *view_info,
- BonoboControl **control_return,
- void *closure);
-typedef void (* EvolutionShellComponentCreateFolderFn) (EvolutionShellComponent *shell_component,
- const char *physical_uri,
- const char *type,
- const GNOME_Evolution_ShellComponentListener listener,
- void *closure);
-typedef void (* EvolutionShellComponentRemoveFolderFn) (EvolutionShellComponent *shell_component,
- const char *physical_uri,
- const char *type,
- const GNOME_Evolution_ShellComponentListener listener,
- void *closure);
-typedef void (* EvolutionShellComponentXferFolderFn) (EvolutionShellComponent *shell_component,
- const char *source_physical_uri,
- const char *destination_physical_uri,
- const char *type,
- gboolean remove_source,
- const GNOME_Evolution_ShellComponentListener listener,
- void *closure);
-typedef void (* EvolutionShellComponentPopulateFolderContextMenuFn) (EvolutionShellComponent *shell_component,
- BonoboUIComponent *uic,
- const char *physical_uri,
- const char *type,
- void *closure);
-typedef void (* EvolutionShellComponentUnpopulateFolderContextMenuFn) (EvolutionShellComponent *shell_component,
- BonoboUIComponent *uic,
- const char *physical_uri,
- const char *type,
- void *closure);
-typedef char * (* EvolutionShellComponentGetDndSelectionFn) (EvolutionShellComponent *shell_component,
- const char *physical_uri,
- int type,
- int *format_return,
- const char **selection_return,
- int *selection_length_return,
- void *closure);
-
-typedef gboolean (* EvolutionShellComponentRequestQuitFn) (EvolutionShellComponent *shell_component,
- void *closure);
-
-struct _EvolutionShellComponentFolderType {
- char *name;
- char *icon_name;
- char *display_name;
- char *description;
-
- gboolean user_creatable;
-
- /* The following are NULL-terminated arrays. */
- char **accepted_dnd_types;
- char **exported_dnd_types;
-};
-typedef struct _EvolutionShellComponentFolderType EvolutionShellComponentFolderType;
-
-struct _EvolutionShellComponent {
- BonoboXObject parent;
-
- EvolutionShellComponentPrivate *priv;
-};
-
-struct _EvolutionShellComponentClass {
- BonoboXObjectClass parent_class;
-
- POA_GNOME_Evolution_ShellComponent__epv epv;
-
- /* Signals. */
-
- void (* owner_set) (EvolutionShellComponent *shell_component,
- EvolutionShellClient *shell_client,
- const char *evolution_homedir);
- void (* owner_unset) (EvolutionShellComponent *shell_component);
- void (* owner_died) (EvolutionShellComponent *shell_component);
-
- void (* debug) (EvolutionShellComponent *shell_component);
-
- void (* interactive) (EvolutionShellComponent *shell_component,
- gboolean is_interactive);
-
- void (* handle_external_uri) (EvolutionShellComponent *shell_component,
- const char *uri);
-
- void (* user_create_new_item) (EvolutionShellComponent *shell_component,
- const char *id,
- const char *parent_folder_physical_uri,
- const char *parent_folder_type);
-
- void (* send_receive) (EvolutionShellComponent *shell_component,
- gboolean show_dialog);
-};
-
-
-GtkType evolution_shell_component_get_type (void);
-void evolution_shell_component_construct (EvolutionShellComponent *shell_component,
- const EvolutionShellComponentFolderType folder_types[],
- const char *external_uri_schemas[],
- EvolutionShellComponentCreateViewFn create_view_fn,
- EvolutionShellComponentCreateFolderFn create_folder_fn,
- EvolutionShellComponentRemoveFolderFn remove_folder_fn,
- EvolutionShellComponentXferFolderFn xfer_folder_fn,
- EvolutionShellComponentPopulateFolderContextMenuFn populate_folder_context_menu_fn,
- EvolutionShellComponentUnpopulateFolderContextMenuFn unpopulate_folder_context_menu_fn,
- EvolutionShellComponentGetDndSelectionFn get_dnd_selection_fn,
- EvolutionShellComponentRequestQuitFn request_quit_fn,
- void *closure);
-EvolutionShellComponent *evolution_shell_component_new (const EvolutionShellComponentFolderType folder_types[],
- const char *external_uri_schemas[],
- EvolutionShellComponentCreateViewFn create_view_fn,
- EvolutionShellComponentCreateFolderFn create_folder_fn,
- EvolutionShellComponentRemoveFolderFn remove_folder_fn,
- EvolutionShellComponentXferFolderFn xfer_folder_fn,
- EvolutionShellComponentPopulateFolderContextMenuFn populate_folder_context_menu_fn,
- EvolutionShellComponentUnpopulateFolderContextMenuFn unpopulate_folder_context_menu_fn,
- EvolutionShellComponentGetDndSelectionFn get_dnd_selection_fn,
- EvolutionShellComponentRequestQuitFn request_quit_fn,
- void *closure);
-EvolutionShellClient *evolution_shell_component_get_owner (EvolutionShellComponent *shell_component);
-
-void evolution_shell_component_add_user_creatable_item (EvolutionShellComponent *shell_component,
- const char *id,
- const char *description,
- const char *menu_description,
- const char *tooltip,
- const char *folder_type,
- char menu_shortcut,
- GdkPixbuf *icon);
-
-const char *evolution_shell_component_result_to_string (EvolutionShellComponentResult result);
-
-#ifdef cplusplus
-}
-#endif /* cplusplus */
-
-#endif /* EVOLUTION_SHELL_COMPONENT_H */
re use USES=pathfix instead of gnomehack.kwm2013-03-162-1/+4 * Fix fix compiler error by adding patch from upstream.kwm2013-03-131-0/+14 * Convert USE_BISON to USES= bisonbapt2013-03-081-6/+2 * * Update the glib to 2.34.3 and gtk20 to 2.24.17 and gtk30 to 3.6.4 whichkwm2013-03-082-18/+15 * - Please welcome back Chris Petrik as maintainer ofbdrewery2013-03-073-18/+7 * - Update *_DEPENDS on databases/py-sqlite3 after _sqlite3.so relocationlwhsu2013-03-041-1/+1 * - add upstream patch to fix runtime with Twisted version > 11.1rm2013-02-272-18/+14 * - Actually fix the plist issues reported by redportsswills2013-02-192-1/+2 * - Try to resolve plist issues reported by redportsswills2013-02-181-3/+2 * - Fix changes accidentally dropped in last commitswills2013-02-182-17/+26 * - Update to 0.7.11swills2013-02-182-4/+3 * - Update to 9.1swills2013-02-185-55/+98 * - pass maintainership to submitterjgh2013-02-141-7/+3 * add new port: news/mail2nntpjgh2013-02-144-0/+40 * - Update to 0.7.10swills2013-02-042-3/+3 * - cleanup headerdinoex2013-01-271-5/+1 * - fix spellingdinoex2013-01-271-1/+1 * - cleanup headerdinoex2013-01-272-10/+2 * - cleanup headerdinoex2013-01-271-6/+2 * Upgrade to new upstream release 1.5.6.mandree2013-01-222-4/+3 * Convert to OptionsNG.mandree2013-01-211-7/+16 * Take maintainership.mandree2013-01-201-1/+1 * - Update to 1.5.5wen2013-01-203-12/+8 * - Use DOC instead of NOPORTDOCSehaupt2013-01-151-6/+6 * - Update to 0.7.9swills2013-01-093-10/+5 * - Upgrade to slrn 1.0.1johans2012-12-233-23/+17 * Update PCRE to 8.32mm2012-12-113-5/+5 * Revert Chris Petrik's ports to the pool. Thank you for all your work so far,...eadler2012-12-101-1/+1 * - Update to 0.7.6swills2012-11-282-3/+3 * - Update to 0.7.5swills2012-11-242-4/+4 * - drop obsolte WWW:dinoex2012-11-161-2/+0 * Update CONFLICTS. [1]mandree2012-11-161-2/+2 * Update CONFLICTS.mandree2012-11-161-0/+2 * - cleanup commentsdinoex2012-10-136-29/+0 * Force numerous ports that fail to build with clang over to instead alwayslinimon2012-10-101-0/+2 * Finish converting perl@ ports to new Options Frameworkbapt2012-10-051-9/+7 * Welcome back Chris Petrik <c.petrik.sosa@gmail.com>eadler2012-09-091-1/+1 * - Fix build with OpenSSL >= 1.0 [1]pawel2012-09-082-0/+33 * - Fix innd/nnrpd semget failuresfluffy2012-09-022-1/+74 * - Fix compilation error when building trn without NNTP supportjohans2012-09-021-0/+45 * - Update to 0.7.3swills2012-08-272-3/+3 * news/inn: fix plaintext command injection, CVE-2012-3523rea2012-08-272-1/+62 * Move the rc.d scripts of the form *.sh.in to *.indougb2012-08-064-2/+2 * - Fix typos in COMMENTcs2012-08-021-1/+1 * - Update to 0.7.2swills2012-07-303-16/+17 * - Remove CONFLICTS as shared-mime-info is an indirect build dependencybeat2012-07-271-1/+2 * Register CONFLICTScs2012-07-181-2/+3 * - fix build after inn has moved includes.dinoex2012-07-171-1/+1 * - Fix typofluffy2012-07-081-1/+1 * - Add options for OpenSSL (for those who don't need) and GnuPG (pgpverify)fluffy2012-07-072-50/+68 * - Remove SITE_PERL from *_DEPENDSaz2012-06-303-9/+9 * - Remove SITE_PERL from *_DEPENDSaz2012-06-301-2/+2 * - Remove SITE_PERL from *_DEPENDSaz2012-06-292-6/+6 * Convert to new options frameworkjohans2012-06-282-5/+5 * - Update INN to 2.5.2 releasefluffy2012-06-277-102/+108 * - reset MAINTAINERdinoex2012-06-261-1/+1 * - Update to 0.7.0scheidell2012-06-175-34/+105 * - Add conflictsjohans2012-06-151-8/+9 * - Register conflicts for trnjohans2012-06-152-4/+8 * Convert to new OPTIONS style (no functional changes)johans2012-06-151-18/+17 * Update CONFLICTS (1).thierry2012-06-131-1/+3 * - Update to 12.1.0sunpoet2012-06-122-5/+5 * - Convert all remaining instances of BUILD_DEPENDS=${RUN_DEPENDS} orswills2012-06-111-1/+1 * - Remove SITE_PERL from *_DEPENDSaz2012-06-042-7/+7 * Set maintainership back to ports@cs2012-06-031-1/+1 * - update png to 1.5.10dinoex2012-06-0110-16/+36 * - Update to 0.8.0miwi2012-05-162-4/+3 * - Assign clsung's p5- ports to perl@swills2012-05-011-1/+1 * - Update to 12.0.0sunpoet2012-03-293-4/+5 * - Set / Update Portscout flagsmiwi2012-03-171-1/+3 * - Remove conditional checks for FreeBSD 6.Xpav2012-03-021-6/+1 * Fix rc script.thierry2012-02-263-4/+4 * - replace `YES' with `yes' in USE_PYTHON/USE_PYDISTUTILS (mostly)rm2012-02-191-1/+1 * Use PORTREVISION?= instead of = to avoid overriding revision of chinese/tinjohans2012-02-151-1/+1 * Bump pcre library dependency due to 8.30 updatemm2012-02-143-3/+6 * - Update to 0.6.15jgh2012-02-143-39/+72 * - Fix plist.avilla2012-01-242-2/+28 * - fix runtime with decent Twisted [1]rm2012-01-234-8/+42 * At the moment 1385 ports use BUILD_DEPENDS= ${RUN_DEPENDS} and 450eadler2012-01-221-1/+1 * In the rc.d scripts, change assignments to rcvar to use thedougb2012-01-144-12/+7 * - Remove explicit par2 dependency, it is conflicting with different flavour ofpav2011-12-291-1/+0 * Update to tin 2.0.1johans2011-12-293-4/+3 * End WWW CPAN URL with a "/"ehaupt2011-12-281-1/+1 * - Update to 0.6.14 [1]culot2011-12-194-8/+9 * Fix clang build.fjoe2011-12-153-0/+36 * Update to 20110223 snapshot.fjoe2011-12-157-88/+18 * - fix missing includesdinoex2011-11-2722-0/+267 * - update FETCH_DEPENDSdinoex2011-11-141-1/+1 * - add FETCH_DEPENDSdinoex2011-11-141-0/+1 * Remove ports@ ports that have been DEPRECATED for at least 1 monthdougb2011-11-0216-316/+0 * - Update to 0.6.10zi2011-10-293-7/+12 * The vast majority of pkg-descr files had the following format when theydougb2011-10-244-11/+2 * Remove more tags from pkg-descr files fo the form:dougb2011-10-246-16/+0 * Remove ports maintainted by ports@ which have passed their EXPIRATION_DATEdougb2011-10-095-94/+0 * Remove optional dependencies and comments related to the removal ofdougb2011-09-301-6/+1 * - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-2413-25/+24 * - Update to 0.6.9jlaffaye2011-09-235-28/+107 * 2012-09-20 www/ruby-http-access: Deprecated upstream, please use www/rubygem-...bapt2011-09-2225-360/+0 * Change maintainer address to my FreeBSD addresscs2011-09-151-1/+1 * - Track dependencies after databases/gdbm updategabor2011-09-123-4/+6 * Update to 0.6.8jlaffaye2011-09-082-3/+3 * 2011-09-01 korean/hlatexfonts-ocf: No more public distfilesbapt2011-09-0710-199/+0 * - Update to 11.0.0sbz2011-09-073-5/+11 * - Update to 2.22sunpoet2011-09-012-8/+9 * - Remove optional dependency on devel/py-elementtree since it'slioux2011-08-241-6/+2 * Fix maintainer field for slave portsjohans2011-08-221-1/+1 * - Return maintainership to submittercrees2011-08-171-16/+16 * Over to volunteer, who is also the author of the software.linimon2011-08-161-1/+1 * Update to 0.135.kwm2011-08-132-9/+20 * Remove USE_GNOME=gnometarget from ports. It has been a empty keyword sincekwm2011-08-121-1/+1 * Update to 0.6.6zi2011-08-104-10/+12 * - use MASTER_SITTE_LOCALdinoex2011-08-082-3/+2 * - update WWWdinoex2011-08-071-1/+1 * - add MASTER_SITE_LOCALdinoex2011-08-071-1/+2 * Remove WWW entries from unmaintained ports that return 404 or where the domainehaupt2011-08-031-2/+0 * Deprecate some ports where I can't find distfiles and upstreambapt2011-08-032-0/+6 * Mark BROKEN: Does not fetchbapt2011-08-032-0/+4 * Deprecate unmaintained ports marked as BROKEN for more then 6 monthbapt2011-08-021-0/+3 * Deprecatebapt2011-08-021-0/+3 * Bye bye abandonwares (part 4)bapt2011-08-0117-509/+0 * Fix build post gnutls update.zi2011-07-211-1/+5 * - Fix build with WITH_CANLOCK option set.johans2011-07-121-10/+5 * Update tin to 1.9.6johans2011-07-094-27/+27 * Update to 0.6.5jlaffaye2011-06-273-3/+4 * Last bunch of deprecation: no more public distfiles and/or abandonware... las...bapt2011-06-172-0/+6 * Mark broken some ports with unfetchable distfilesbapt2011-06-171-0/+2 * Fix master_sitebapt2011-06-171-1/+1 * Update to 0.6.4jlaffaye2011-06-105-321/+370 * Update my e-mail to my FreeBSD one.jlaffaye2011-06-091-1/+1 * Chase security/gnutls update and add an UPDATING entry.novel2011-06-061-0/+1 * Remove sunsite from MASTER_SITES, they're too slow to pick uploads up.mandree2011-05-231-4/+1 * remove unmaintained expired ports from newsbapt2011-05-0241-3030/+0 * Remove most expired ports:rene2011-04-195-475/+0 * Change maintainer permandree2011-03-301-1/+1 * - Get Rid MD5 supportmiwi2011-03-2096-115/+0 * - Mark ports that have been broken for six month or more, or never compiled onpav2011-03-171-0/+2 * - Update MASTER_SITESbapt2011-03-171-2/+2 * undeprecate has it is used by many other portsbapt2011-03-161-4/+2 * Deprecate unmaintained ports from news where upstream disapear and/orbapt2011-03-145-0/+15 * Port cleanupjohans2011-03-133-16/+26 * - Fix build with cherrypy-3.2.0wen2011-03-112-12/+1 * - cherrypy went all eggy so adjust deplinepav2011-03-081-1/+1 * Update to 0.134.kwm2011-02-284-60/+5 * Update cleanfeed to latest releasejohans2011-02-252-4/+3 * - Remove PYTHON_REL < 250, since USE_PYTHON 2.5+miwi2011-02-251-11/+2 * - Move to py25 or abovemiwi2011-02-253-5/+4 * Only grep first host from .ini file in rcfile when shutting down.mandree2011-02-252-1/+2 * - Fix dependswen2011-02-242-65/+86 * - Update to 0.6wen2011-02-234-416/+500 * - DISTNAME= ${PORTNAME}-${PORTVERSION} is the default and not needed.pgollucci2010-12-301-1/+0 * - Chase security/libksba shlib version bumpglarkin2010-12-161-1/+1 * Fix NOPORTDOCS builds if gmake isn't installed.mandree2010-12-091-2/+2 * Fix leftover files in NOPORTDOCS install.mandree2010-12-081-0/+8 * Add LICENSE=GPLv3 line.mandree2010-12-071-0/+2 * - Update to upstream release 1.5.4 (2009)mandree2010-12-076-118/+19 * Sync to new bsd.autotools.mkade2010-12-045-5/+5 * Reset hideo@lastamericanempire.com due to maintainer-timeouts and nolinimon2010-12-021-1/+1 * Reset anray@FreeBSD.org due to maintainer-timeouts and no response to email.linimon2010-12-023-3/+3