mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@167 e03df62e-2008-0410-955e-edbf42e46eb7
31 lines
384 B
C++
31 lines
384 B
C++
/*
|
|
|
|
|
|
*/
|
|
|
|
#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
|
|
|