diff options
| author | 2005-04-21 12:15:56 +0000 | |
|---|---|---|
| committer | 2005-04-21 12:15:56 +0000 | |
| commit | 2eafeefbb1d2f96a5c59874a93d22cd6721ecde4 (patch) | |
| tree | 0799ee94c32714f2ac6ce2d8c2dc450473ccfbbf /src/modules/extra/m_sql.h | |
| parent | Added header for m_sql with inherited Request class (diff) | |
| download | inspircd++-2eafeefbb1d2f96a5c59874a93d22cd6721ecde4.tar.gz inspircd++-2eafeefbb1d2f96a5c59874a93d22cd6721ecde4.tar.bz2 inspircd++-2eafeefbb1d2f96a5c59874a93d22cd6721ecde4.zip | |
New stuff actually compiles now
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1150 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_sql.h')
| -rw-r--r-- | src/modules/extra/m_sql.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/extra/m_sql.h b/src/modules/extra/m_sql.h index 768551bf3..0620dedf7 100644 --- a/src/modules/extra/m_sql.h +++ b/src/modules/extra/m_sql.h @@ -14,7 +14,7 @@ // so that we can neatly pass information around the // system. -class SQLRequest : public Request +class SQLRequest { protected: long conn_id; @@ -26,7 +26,7 @@ class SQLRequest : public Request conn_id = id; } - long GetConnID(long id) + long GetConnID() { return conn_id; } @@ -36,7 +36,7 @@ class SQLRequest : public Request request_type = t; } - int GetQueryType(int t) + int GetQueryType() { return request_type; } @@ -54,7 +54,7 @@ class SQLRequest : public Request // Upon completion, an SQLRequest returns an SQLResponse. -class SQLResponse +class SQLResult { protected: int resptype; @@ -86,7 +86,7 @@ class SQLResponse int GetType() { - return restype; + return resptype; } std::string GetError() |
