changed: the way how plugins work

all your plugin functions can have signature either:
void my_function(PluginInfo & info); or
void my_function();
only the main Init should have:
extern "C" void Init(PluginFunction & info);

added: directory 'plugins' for plugins
added: 'stats' plugin
		  


git-svn-id: svn://ttmath.org/publicrep/winix/trunk@624 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-07-27 20:41:56 +00:00
parent e4683b9a05
commit 031ace3fe5
33 changed files with 1268 additions and 399 deletions

18
plugins/stats/Makefile.dep Executable file
View File

@@ -0,0 +1,18 @@
# DO NOT DELETE
init.o: ../../core/log.h ../../core/request.h ../../core/requesttypes.h
init.o: ../../core/session.h ../../core/item.h ../../core/error.h
init.o: ../../core/log.h ../../core/user.h ../../core/rebus.h
init.o: ../../core/plugindata.h ../../core/function.h ../../core/thread.h
init.o: ../../core/compress.h ../../core/acceptencodingparser.h
init.o: ../../core/acceptbaseparser.h ../../core/htmlfilter.h
init.o: ../../core/postmultiparser.h ../../core/ticket.h ../../core/config.h
init.o: ../../confparser/confparser.h ../../core/db.h ../../core/group.h
init.o: ../../core/dircontainer.h ../../core/ugcontainer.h stats.h
init.o: templates.h ../../core/plugin.h ../../core/request.h data.h
init.o: ../../core/plugindata.h ../../core/pluginmsg.h
stats.o: stats.h data.h ../../core/plugindata.h ../../core/log.h
templates.o: templates.h ../../core/plugin.h ../../core/request.h data.h
templates.o: stats.h ../../core/plugindata.h ../../core/pluginmsg.h
templates.o: ../../core/log.h ../../core/plugindata.h ../../../ezc/src/ezc.h
templates.o: ../../core/misc.h ../../core/item.h