diff options
author | maximius <none@none> | 2009-10-17 15:35:07 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-10-17 15:35:07 -0700 |
commit | 26b5e033ffde3d161382fc9addbfa99738379641 (patch) | |
tree | a344f369ca32945f787a02dee35c3dbe342bed7e /src/shared/Database/Field.h | |
parent | f21f47005dcb6b76e1abc9f35fbcd03eed191bff (diff) |
*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget
--HG--
branch : trunk
Diffstat (limited to 'src/shared/Database/Field.h')
-rw-r--r-- | src/shared/Database/Field.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/shared/Database/Field.h b/src/shared/Database/Field.h index d1238f838a5..fd259423aef 100644 --- a/src/shared/Database/Field.h +++ b/src/shared/Database/Field.h @@ -17,14 +17,11 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ - #if !defined(FIELD_H) #define FIELD_H - class Field { public: - enum DataTypes { DB_TYPE_UNKNOWN = 0x00, @@ -33,15 +30,11 @@ class Field DB_TYPE_FLOAT = 0x03, DB_TYPE_BOOL = 0x04 }; - Field(); Field(Field &f); Field(const char *value, enum DataTypes type); - ~Field(); - enum DataTypes GetType() const { return mType; } - const char *GetString() const { return mValue; } std::string GetCppString() const { @@ -76,11 +69,8 @@ class Field else return 0; } - void SetType(enum DataTypes type) { mType = type; } - void SetValue(const char *value); - private: char *mValue; enum DataTypes mType; |