]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - include/base.h
b0e264bacaed9c8d17ba8ea2ddded03f90c336e2
[user/henk/code/inspircd.git] / include / base.h
1 /*
2
3
4 */
5
6 #include "inspircd_config.h" 
7 #include <time.h>
8  
9 #ifndef __BASE_H__ 
10 #define __BASE_H__ 
11
12
13 /** The base class for all inspircd classes
14 */ 
15 class classbase
16 {
17  public:
18         /** Time that the object was instantiated (used for TS calculation etc)
19         */
20         time_t age;
21
22         /** Constructor,
23          * Sets the object's time
24          */
25         classbase() { age = time(NULL); }
26         ~classbase() { }
27 };
28
29 #endif
30