00001 /* 00002 Defines the base classes used by InspIRCd 00003 */ 00004 00005 #ifndef __BASE_H__ 00006 #define __BASE_H__ 00007 00008 #include "inspircd_config.h" 00009 #include <time.h> 00010 #include <map> 00011 #include <string> 00012 00013 typedef void* VoidPointer; 00014 00017 class classbase 00018 { 00019 public: 00022 time_t age; 00023 00027 classbase() { age = time(NULL); } 00028 ~classbase() { } 00029 }; 00030 00038 class Extensible : public classbase 00039 { 00042 std::map<std::string,VoidPointer> Extension_Items; 00043 }; 00044 00045 #endif 00046