]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - docs/module-doc/base_8h-source.html
Added Module::OnAccessCheck
[user/henk/code/inspircd.git] / docs / module-doc / base_8h-source.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3 <title>base.h Source File</title>
4 <link href="inspircd.css" rel="stylesheet" type="text/css">
5 </head><body>
6 <!-- Generated by Doxygen 1.3-rc3 -->
7 <center>
8 <a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
9 <hr><h1>base.h</h1><a href="base_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span>
10 00002 <span class="comment">Defines the base classes used by InspIRCd</span>
11 00003 <span class="comment">*/</span>
12 00004 
13 00005 <span class="preprocessor">#ifndef __BASE_H__ </span>
14 00006 <span class="preprocessor"></span><span class="preprocessor">#define __BASE_H__ </span>
15 00007 <span class="preprocessor"></span>
16 00008 <span class="preprocessor">#include "inspircd_config.h"</span> 
17 00009 <span class="preprocessor">#include &lt;time.h&gt;</span>
18 00010 <span class="preprocessor">#include &lt;map&gt;</span>
19 00011 <span class="preprocessor">#include &lt;string&gt;</span>
20 00012 
21 <a name="l00013"></a><a class="code" href="base_8h.html#a0">00013</a> <span class="keyword">typedef</span> <span class="keywordtype">void</span>* <a class="code" href="base_8h.html#a0">VoidPointer</a>;
22 00014  
23 <a name="l00017"></a><a class="code" href="classclassbase.html">00017</a> <span class="keyword">class </span><a class="code" href="classclassbase.html">classbase</a>
24 00018 {
25 00019  <span class="keyword">public</span>:
26 <a name="l00022"></a><a class="code" href="classclassbase.html#m0">00022</a>         time_t <a class="code" href="classclassbase.html#m0">age</a>;
27 00023 
28 <a name="l00027"></a><a class="code" href="classclassbase.html#a0">00027</a>         <a class="code" href="classclassbase.html#a0">classbase</a>() { age = time(NULL); }
29 <a name="l00028"></a><a class="code" href="classclassbase.html#a1">00028</a>         <a class="code" href="classclassbase.html#a1">~classbase</a>() { }
30 00029 };
31 00030 
32 <a name="l00038"></a><a class="code" href="classExtensible.html">00038</a> <span class="keyword">class </span><a class="code" href="classExtensible.html">Extensible</a> : <span class="keyword">public</span> <a class="code" href="classclassbase.html">classbase</a>
33 00039 {
34 <a name="l00042"></a><a class="code" href="classExtensible.html#o0">00042</a>         std::map&lt;std::string,char*&gt; <a class="code" href="classExtensible.html#o0">Extension_Items</a>;
35 00043         
36 00044 <span class="keyword">public</span>:
37 00045 
38 00052         <span class="keywordtype">bool</span> <a class="code" href="classExtensible.html#a0">Extend</a>(std::string key, <span class="keywordtype">char</span>* p);
39 00053 
40 00059         <span class="keywordtype">bool</span> <a class="code" href="classExtensible.html#a1">Shrink</a>(std::string key);
41 00060         
42 00065         <span class="keywordtype">char</span>* <a class="code" href="classExtensible.html#a2">GetExt</a>(std::string key);
43 00066 };
44 00067 
45 00068 <span class="preprocessor">#endif</span>
46 00069 <span class="preprocessor"></span>
47 </pre></div><hr><address style="align: right;"><small>Generated on Sat May 1 13:38:59 2004 for InspIRCd by
48 <a href="http://www.doxygen.org/index.html">
49 <img src="doxygen.png" alt="doxygen" align="middle" border=0 
50 width=110 height=53></a>1.3-rc3 </small></address>
51 </body>
52 </html>