move lttv to root
[lttv.git] / lttv / modules / examples / samplemodule2.c
diff --git a/lttv/modules/examples/samplemodule2.c b/lttv/modules/examples/samplemodule2.c
new file mode 100644 (file)
index 0000000..19a094d
--- /dev/null
@@ -0,0 +1,22 @@
+/* Sample module for Linux Trace Toolkit new generation User Interface */
+
+/* Created by Mathieu Desnoyers, may 2003 */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <glib.h>
+#include <lttv/module.h>
+
+static void init() {
+       g_critical("Sample module 2 init()");
+}
+
+static void destroy() {
+       g_critical("Sample module 2 destroy()");
+}
+
+
+LTTV_MODULE("samplemodule2", "Medium...", "Long...", init, destroy, {})
+
This page took 0.022853 seconds and 4 git commands to generate.