X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcaller.h;h=8cf73e1c3e6b06bb76de3af680b09a230afd05b5;hb=28de37791e17a1f1f3fd431969f5b6fd393eb73f;hp=7c6565879dcd21d0f142a68fe7bcdc2139d8b9a2;hpb=e4acbc95b8b6cd5b28d38a2242c02e8ff4991e4a;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/caller.h b/include/caller.h index 7c6565879..8cf73e1c3 100644 --- a/include/caller.h +++ b/include/caller.h @@ -2,7 +2,7 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd: (C) 2002-2008 InspIRCd Development Team + * InspIRCd: (C) 2002-2009 InspIRCd Development Team * See: http://www.inspircd.org/wiki/index.php/Credits * * This program is free but copyrighted software; see @@ -14,7 +14,7 @@ #ifndef __CALLER__H__ #define __CALLER__H__ -/* The templates below can be auto generated by tools/create_templates.pl. +/** The templates below can be auto generated by tools/create_templates.pl. * They are used to represent a functor with a given number of parameters and * a specific return type. To prevent passing the wrong number of parameters * and have the compiler detect this error at build-time, each class is numbered @@ -32,7 +32,7 @@ * * These functor templates work this way so that you can simply and easily allow * for these class methods to be overridden from within a module, e.g. have a module - * which completely replaces the code f r IsNick, etc. For example, with the example + * which completely replaces the code for IsNick, etc. For example, with the example * above: * * MyNewFunction replaceme(ServerInstance); @@ -47,7 +47,6 @@ * this until you do, as if you get this wrong, this can generate some pretty long * winded and confusing error messages at compile time. */ - template class CoreExport HandlerBase0 { public: @@ -253,7 +252,6 @@ template { InspIRCd* Server; public: NAME(InspIRCd* Srv) : Server(Srv) { } virtual ~NAME() { } virtual RETURN Call(); } @@ -282,4 +280,3 @@ template { InspIRCd* Server; public: NAME(InspIRCd* Srv) : Server(Srv) { } virtual ~NAME() { } virtual RETURN Call(V1, V2, V3, V4, V5, V6, V7, V8); } #endif -