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 | |
parent | 33ffe9aadcef483a4900cc65fc9e840220951e3c (diff) | |
download | gsoc2013-evolution-a478ee7e9d44ea7947b2dc51fcf5d7f09735ee52.tar.gz 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')
-rw-r--r-- | tests/Makefile.am | 3 | ||||
-rw-r--r-- | tests/test7.c | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 55ef5048dd..77f5b37090 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -22,4 +22,5 @@ noinst_PROGRAMS = \ test1 \ test2 \ test3 \ - test4 + test4 \ + test7 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"); + +} |