blob: 7b06bb044ae0407fe331ee07d8dda5cd0d0133ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>base.h Source File</title>
<link href="inspircd.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc3 -->
<center>
<a class="qindex" href="main.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
<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>
00002 <span class="comment">Defines the base classes used by InspIRCd</span>
00003 <span class="comment">*/</span>
00004
00005 <span class="preprocessor">#ifndef __BASE_H__ </span>
00006 <span class="preprocessor"></span><span class="preprocessor">#define __BASE_H__ </span>
00007 <span class="preprocessor"></span>
00008 <span class="preprocessor">#include "inspircd_config.h"</span>
00009 <span class="preprocessor">#include <time.h></span>
00010 <span class="preprocessor">#include <map></span>
00011 <span class="preprocessor">#include <string></span>
00012
<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>;
00014
<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>
00018 {
00019 <span class="keyword">public</span>:
<a name="l00022"></a><a class="code" href="classclassbase.html#m0">00022</a> time_t <a class="code" href="classclassbase.html#m0">age</a>;
00023
<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); }
<a name="l00028"></a><a class="code" href="classclassbase.html#a1">00028</a> <a class="code" href="classclassbase.html#a1">~classbase</a>() { }
00029 };
00030
<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>
00039 {
<a name="l00042"></a><a class="code" href="classExtensible.html#o0">00042</a> std::map<std::string,VoidPointer> <a class="code" href="classExtensible.html#o0">Extension_Items</a>;
00043 };
00044
00045 <span class="preprocessor">#endif</span>
00046 <span class="preprocessor"></span>
</pre></div><hr><address style="align: right;"><small>Generated on Thu Apr 29 16:30:32 2004 for InspIRCd by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc3 </small></address>
</body>
</html>
|