Roxen.git / server / modules / examples / newstyle_fnord.pike

version» Context lines:

Roxen.git/server/modules/examples/newstyle_fnord.pike:2:      // This is a small sample module intended to show how a newstyle tag   // is written. Note that this is only a very brief overview and that   // the new parser is still under development and incompatible changes   // might be done in the future.      // See fnord.pike for more information of what this tag does.      // This variable is shown in the configinterface as the version of the module.   constant cvs_version = -  "$Id: newstyle_fnord.pike,v 1.16 2004/05/22 18:14:05 _cvs_stephen Exp $"; +  "$Id: newstyle_fnord.pike,v 1.17 2004/06/05 15:19:44 _cvs_dirix Exp $";    - // Tell Roxen that this module is threadsafe. + // Tell ChiliMoon that this module is threadsafe.   constant thread_safe=1;      // Inherit code that is needed in every module.   inherit "module";      // Define the fnord tag class. It must begin with "Tag".   class TagFnord {    inherit RXML.Tag;       // This constant tells the parser that the tag should be called "fnord".