diff options
author | nobody <nobody@localhost> | 2000-02-17 07:51:01 +0800 |
---|---|---|
committer | nobody <nobody@localhost> | 2000-02-17 07:51:01 +0800 |
commit | 2b80feefead30f2b24a3c51c4b52373c5faacbac (patch) | |
tree | 646d019769a1d66081bd13dc9cab96c4417d8843 /addressbook/backend/pas/pas.c | |
parent | 5a80143a526ddc84b31e8458c525d40580c06810 (diff) | |
download | gsoc2013-evolution-GNOME_CORE_1_1_4.tar gsoc2013-evolution-GNOME_CORE_1_1_4.tar.gz gsoc2013-evolution-GNOME_CORE_1_1_4.tar.bz2 gsoc2013-evolution-GNOME_CORE_1_1_4.tar.lz gsoc2013-evolution-GNOME_CORE_1_1_4.tar.xz gsoc2013-evolution-GNOME_CORE_1_1_4.tar.zst gsoc2013-evolution-GNOME_CORE_1_1_4.zip |
This commit was manufactured by cvs2svn to create tagGNOME_CORE_1_1_4
'GNOME_CORE_1_1_4'.
svn path=/tags/GNOME_CORE_1_1_4/; revision=1807
Diffstat (limited to 'addressbook/backend/pas/pas.c')
-rw-r--r-- | addressbook/backend/pas/pas.c | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/addressbook/backend/pas/pas.c b/addressbook/backend/pas/pas.c deleted file mode 100644 index 07d6d5c757..0000000000 --- a/addressbook/backend/pas/pas.c +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Author: - * Nat Friedman (nat@helixcode.com) - * - * Copyright 2000, Helix Code, Inc. - */ -#include <config.h> -#include <bonobo/gnome-bonobo.h> - -#include <pas-book-factory.h> -#include <pas-backend-file.h> - -CORBA_Environment ev; -CORBA_ORB orb; - -static void -init_bonobo (int argc, char **argv) -{ - - gnome_CORBA_init_with_popt_table ( - "Personal Addressbook Server", "0.0", - &argc, argv, NULL, 0, NULL, GNORBA_INIT_SERVER_FUNC, &ev); - - orb = gnome_CORBA_ORB (); - - if (bonobo_init (orb, NULL, NULL) == FALSE) - g_error (_("Could not initialize Bonobo")); -} - -int -main (int argc, char **argv) -{ - PASBookFactory *factory; - - CORBA_exception_init (&ev); - - - init_bonobo (argc, argv); - - /* - * Create the factory and register the local-file backend with - * it. - */ - factory = pas_book_factory_new (); - - pas_book_factory_register_backend ( - factory, "file", pas_backend_file_new); - - pas_book_factory_activate (factory); - - bonobo_main (); - - return 0; -} |