Roxen.git/
server/
modules/
examples/
newstyle_fnord.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2000-08-01
2000-08-01 15:56:12 by Johan Sundström <oyasumi@gmail.com>
681f72545786386e9a0468dd74e2b8320cbfa8d9 (
10
lines) (+
6
/-
4
)
[
Show
|
Annotate
]
Branch:
5.2
Minor tweaks.
Rev: server/modules/examples/newstyle_fnord.pike:1.7
8:
// 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.
6
2000/
07
/
17
12
:
23:
56
nilsson
Exp $";
+
constant cvs_version = "$Id: newstyle_fnord.pike,v 1.
7
2000/
08
/
01
15
:
56
:
12
jhs
Exp $";
// Tell Roxen that this module is threadsafe. constant thread_safe=1;
-
//
Include
and inherit
code that is needed in every module.
-
#include <module.h>
+
//
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".
75:
// Last, but not least, we want a documentation that can be integrated in the // online manual. The mapping tagdoc maps from container names to it's description.
+
// Include this is if you use the TAGDOC system.
+
#include <module.h>
+
TAGDOCUMENTATION; #ifdef manual constant tagdoc=(["fnord":#"<desc cont>The fnord container tag hides its "