diff options
author | bertrand <Bertrand.Guiheneuf@aful.org> | 1999-08-12 06:34:09 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-08-12 06:34:09 +0800 |
commit | a478ee7e9d44ea7947b2dc51fcf5d7f09735ee52 (patch) | |
tree | 16013fe0bf49a83f311bd25c6c603d1a29e5277a /tests/test7.c | |
parent | 33ffe9aadcef483a4900cc65fc9e840220951e3c (diff) | |
download | gsoc2013-evolution-a478ee7e9d44ea7947b2dc51fcf5d7f09735ee52.tar gsoc2013-evolution-a478ee7e9d44ea7947b2dc51fcf5d7f09735ee52.tar.gz gsoc2013-evolution-a478ee7e9d44ea7947b2dc51fcf5d7f09735ee52.tar.bz2 gsoc2013-evolution-a478ee7e9d44ea7947b2dc51fcf5d7f09735ee52.tar.lz gsoc2013-evolution-a478ee7e9d44ea7947b2dc51fcf5d7f09735ee52.tar.xz gsoc2013-evolution-a478ee7e9d44ea7947b2dc51fcf5d7f09735ee52.tar.zst gsoc2013-evolution-a478ee7e9d44ea7947b2dc51fcf5d7f09735ee52.zip |
new file. MH provider registration stuff.
1999-08-12 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/providers/MH/camel-mh-provider.c:
new file. MH provider registration stuff.
* camel/camel-provider.c (camel_provider_register_as_module):
load a provider from a shared object (plugin).
(camel_provider_register): register a provider
"by hand". Used for statically defined providers.
* tests/test7.c: new test.
tests providers loading framework.
Providers modules loading Works !!! :))))
svn path=/trunk/; revision=1105
Diffstat (limited to 'tests/test7.c')
-rw-r--r-- | tests/test7.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/test7.c b/tests/test7.c new file mode 100644 index 0000000000..aaf256f64b --- /dev/null +++ b/tests/test7.c @@ -0,0 +1,22 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ + +/* test provider stuff */ + + +#include "camel.h" + + +int +main (int argc, char**argv) +{ + const CamelProvider *new_provider; + + camel_debug_level = CAMEL_LOG_LEVEL_FULL_DEBUG; + + gtk_init (&argc, &argv); + camel_init (); + + + new_provider = camel_provider_register_as_module ("../camel/providers/MH/.libs/libcamelmh.so"); + +} |