move lttv to root
[lttv.git] / lttv / modules / examples / samplemodule.c
diff --git a/lttv/modules/examples/samplemodule.c b/lttv/modules/examples/samplemodule.c
new file mode 100644 (file)
index 0000000..6e676d5
--- /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 init()");
+}
+
+static void destroy() {
+       g_critical("Sample module destroy()");
+}
+
+
+LTTV_MODULE("sampledep", "Medium...", "Long...", init, destroy, {})
+
This page took 0.022778 seconds and 4 git commands to generate.