summaryrefslogtreecommitdiff
path: root/include/base.h
blob: b0e264bacaed9c8d17ba8ea2ddded03f90c336e2 (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
/*


*/

#include "inspircd_config.h" 
#include <time.h>
 
#ifndef __BASE_H__ 
#define __BASE_H__ 


/** The base class for all inspircd classes
*/ 
class classbase
{
 public:
 	/** Time that the object was instantiated (used for TS calculation etc)
 	*/
	time_t age;

	/** Constructor,
	 * Sets the object's time
	 */
	classbase() { age = time(NULL); }
	~classbase() { }
};

#endif