exclude sample modules from compiling.
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 5 Aug 2003 19:39:26 +0000 (19:39 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 5 Aug 2003 19:39:26 +0000 (19:39 +0000)
modify sampledep to use required modules

git-svn-id: http://ltt.polymtl.ca/svn@166 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/configure.in
ltt/branches/poly/lttv/modules/Makefile.am
ltt/branches/poly/lttv/modules/examples/sampledep.c

index 92f314093d97339590bba331ec301bc6081d9699..860c2940ce95c3aecd17846893dab1a073e748b7 100644 (file)
@@ -60,7 +60,6 @@ AC_SUBST(lttincludedir)
 AC_CONFIG_FILES([Makefile
      lttv/Makefile
                 lttv/modules/Makefile
-                lttv/modules/examples/Makefile
                 lttd/Makefile
                 ltt/Makefile
                 include/Makefile
@@ -68,6 +67,7 @@ AC_CONFIG_FILES([Makefile
                 ltt/convert/Makefile
                 include/lttv/Makefile])
 AC_OUTPUT
+#               lttv/modules/examples/Makefile
 #               include/ltt/convert/Makefile
 #               lttv/modules/gui/API/Makefile
 #               lttv/modules/gui/Makefile
index 343d243ebe399c04216b4e1c2e673c4b7a94e690..10c3451ab21f41ee8c989df3d282f72384afd178 100644 (file)
@@ -4,7 +4,7 @@
 # Created by Mathieu Desnoyers on May 6, 2003
 #
 
-SUBDIRS = examples coreGUI
+#SUBDIRS = examples
 
 libdir = ${lttvplugindir}
 
index 805c52837b1ef9af23739b3f404e0ce167d1070c..dd64c9f4106e4d12d0e2e4a061df08b326182254 100644 (file)
@@ -8,14 +8,13 @@
 /* Include module.h from lttv headers for module loading */
 #include <lttv/module.h>
 
-G_MODULE_EXPORT void init() {
+G_MODULE_EXPORT void init(int argc, char * argv[], LttvModule *self) {
        g_critical("Sample module dependant init()");
 
-       lttv_module_load("samplemodule",0,NULL,DEPENDANT);
+       lttv_module_require(self, "samplemodule",argc,argv);
 }
 
 G_MODULE_EXPORT void destroy() {
        g_critical("Sample module dependant destroy()");
-       lttv_module_unload_name("samplemodule",DEPENDANT);
 }
        
This page took 0.028704 seconds and 4 git commands to generate.