premilinary add of modular user interface implementation with a few test modules.
[lttv.git] / ltt / branches / poly / lttv / test / sampledep.c
1 /* Sample module for Linux Trace Toolkit new generation User Interface */
2
3 /* Created by Mathieu Desnoyers, may 2003 */
4
5 #include <glib.h>
6 #include <gmodule.h>
7
8 /* Include module.h from lttv headers for module loading */
9 #include "../../include/lttv/module.h"
10
11 G_MODULE_EXPORT void init() {
12 g_critical("Sample module dependant init()");
13
14 lttv_module_load("samplemodule",0,NULL,DEPENDANT);
15 }
16
17 G_MODULE_EXPORT void destroy() {
18 g_critical("Sample module dependant destroy()");
19 lttv_module_unload_name("samplemodule",DEPENDANT);
20 }
21
This page took 0.03366 seconds and 4 git commands to generate.