From 08e384bb24398224856c44baa51b51977644de9d Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 9 Feb 2003 12:49:00 +0000 Subject: Documentation update, 09/02/03 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@167 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/base.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'include/base.h') diff --git a/include/base.h b/include/base.h index c347aedb3..b0e264bac 100644 --- a/include/base.h +++ b/include/base.h @@ -8,12 +8,20 @@ #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() { } }; -- cgit v1.2.3