summaryrefslogtreecommitdiff
path: root/include/base.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2003-02-09 12:49:00 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2003-02-09 12:49:00 +0000
commit08e384bb24398224856c44baa51b51977644de9d (patch)
tree15363f194893e4dc31b0de9fb509e52a32ad53b5 /include/base.h
parent1f487855a5097c65aaad4752df259b9a877ba364 (diff)
Documentation update, 09/02/03
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@167 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/base.h')
-rw-r--r--include/base.h10
1 files changed, 9 insertions, 1 deletions
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() { }
};