aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@src.gnome.org>2000-04-17 13:27:43 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-04-17 13:27:43 +0800
commit5f99ad908dc9885a0c1dac66939360f29ba944c7 (patch)
tree66417be64a535a79adc58677255184ae757e98e7 /addressbook
parent42168d6f739ead439e41fad344ee08adbcd1e8cb (diff)
downloadgsoc2013-evolution-5f99ad908dc9885a0c1dac66939360f29ba944c7.tar
gsoc2013-evolution-5f99ad908dc9885a0c1dac66939360f29ba944c7.tar.gz
gsoc2013-evolution-5f99ad908dc9885a0c1dac66939360f29ba944c7.tar.bz2
gsoc2013-evolution-5f99ad908dc9885a0c1dac66939360f29ba944c7.tar.lz
gsoc2013-evolution-5f99ad908dc9885a0c1dac66939360f29ba944c7.tar.xz
gsoc2013-evolution-5f99ad908dc9885a0c1dac66939360f29ba944c7.tar.zst
gsoc2013-evolution-5f99ad908dc9885a0c1dac66939360f29ba944c7.zip
No longer needed - Federico
svn path=/trunk/; revision=2466
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/backend/pas/pas.c55
1 files changed, 0 insertions, 55 deletions
diff --git a/addressbook/backend/pas/pas.c b/addressbook/backend/pas/pas.c
deleted file mode 100644
index a892d98a5b..0000000000
--- a/addressbook/backend/pas/pas.c
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Author:
- * Nat Friedman (nat@helixcode.com)
- *
- * Copyright 2000, Helix Code, Inc.
- */
-#include <config.h>
-#include <bonobo.h>
-#include <libgnorba/gnorba.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;
-}