Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

base.h

Go to the documentation of this file.
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 

Generated on Thu Apr 29 16:30:32 2004 for InspIRCd by doxygen1.3-rc3