From 73e972340bee8ea9cdbbe5520b1b461fbce1f121 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 10 Jul 2006 18:48:40 +0000 Subject: 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 --- src/modules/extra/m_pgsql.cpp | 2 +- src/modules/extra/m_sql.cpp | 2 +- src/modules/extra/m_sql.h | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/modules/extra') diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp index 14e32ac36..10dc9fd60 100644 --- a/src/modules/extra/m_pgsql.cpp +++ b/src/modules/extra/m_pgsql.cpp @@ -83,7 +83,7 @@ enum SQLstatus { CREAD, CWRITE, WREAD, WWRITE }; * until pop() is called. */ -class QueryQueue +class QueryQueue : public classbase { private: std::deque priority; /* The priority queue */ diff --git a/src/modules/extra/m_sql.cpp b/src/modules/extra/m_sql.cpp index 22933de07..654d84191 100644 --- a/src/modules/extra/m_sql.cpp +++ b/src/modules/extra/m_sql.cpp @@ -37,7 +37,7 @@ using namespace std; #define mysql_field_count mysql_num_fields #endif -class SQLConnection +class SQLConnection : public classbase { protected: 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; -- cgit v1.2.3