From: Matej U. <mat...@us...> - 2006-09-12 23:12:01
|
Update of /cvsroot/mod-c/ehtml/include In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv21457/include Modified Files: ChangeLog Plugin.h Removed Files: Makefile.in Log Message: Removed the DECLARE_PLUGIN and the annoying files that should be ignored. --- Makefile.in DELETED --- Index: ChangeLog =================================================================== RCS file: /cvsroot/mod-c/ehtml/include/ChangeLog,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ChangeLog 8 Sep 2006 14:35:09 -0000 1.3 --- ChangeLog 12 Sep 2006 23:11:58 -0000 1.4 *************** *** 1,2 **** --- 1,7 ---- + 2006-09-13 Matej Urbas <mat...@gm...> + + * Plugin.h: Changed the DECLARE_PLUGIN define into a static + initializer. + 2006-08-23 Matej Urbas <mat...@gm...> Index: Plugin.h =================================================================== RCS file: /cvsroot/mod-c/ehtml/include/Plugin.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Plugin.h 12 Sep 2006 14:31:02 -0000 1.3 --- Plugin.h 12 Sep 2006 23:11:58 -0000 1.4 *************** *** 47,59 **** }; ! #if __GNUC__ >= 4 ! #define EXPLICIT_TEMPLATE template<> ! #else ! #define EXPLICIT_TEMPLATE ! #endif ! ! #define DECLARE_PLUGIN(C) \ ! EXPLICIT_TEMPLATE std::map<std::string,C*> Pluggable<C>::_map; \ ! EXPLICIT_TEMPLATE C* Pluggable<C>::_selected = NULL; //@TODO: write a plug-in registerer --- 47,52 ---- }; ! template<class C> std::map<std::string,C*> Pluggable<C>::_map; ! template<class C> C* Pluggable<C>::_selected = NULL; //@TODO: write a plug-in registerer |