aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/extra/m_sql.h
diff options
context:
space:
mode:
authorGravatar brain2006-07-10 18:48:40 +0000
committerGravatar brain2006-07-10 18:48:40 +0000
commit73e972340bee8ea9cdbbe5520b1b461fbce1f121 (patch)
treefbe2e4a7a38555a72e73f2a29ae1b4a273408f7d /src/modules/extra/m_sql.h
parentRemove commented out old methods that became templates (diff)
downloadinspircd++-73e972340bee8ea9cdbbe5520b1b461fbce1f121.tar.gz
inspircd++-73e972340bee8ea9cdbbe5520b1b461fbce1f121.tar.bz2
inspircd++-73e972340bee8ea9cdbbe5520b1b461fbce1f121.zip
Making lots of stuff inherit from classbase so we can use it as a holdall class that we can throw around with dynamic_cast<>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4297 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_sql.h')
-rw-r--r--src/modules/extra/m_sql.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/extra/m_sql.h b/src/modules/extra/m_sql.h
index 2fa61fbe9..ce9ce7743 100644
--- a/src/modules/extra/m_sql.h
+++ b/src/modules/extra/m_sql.h
@@ -18,7 +18,7 @@ using namespace std;
// so that we can neatly pass information around the
// system.
-class SQLRequest
+class SQLRequest : public classbase
{
protected:
long conn_id;
@@ -65,7 +65,7 @@ class SQLRequest
// Upon completion, an SQLRequest returns an SQLResponse.
-class SQLResult
+class SQLResult : public classbase
{
protected:
int resptype;
@@ -118,7 +118,7 @@ class SQLResult
}
};
-class SQLQuery
+class SQLQuery : public classbase
{
private:
SQLRequest* rowrequest;