diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2007-05-03 22:21:05 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2007-05-03 22:21:05 +0000 |
| commit | 621d0f09fafba69aa650bc1555927f41e9c8e60e (patch) | |
| tree | 2a01644bf81c3e90c2afddad85ec359109f15f5a /pokemod/Author.cpp | |
| parent | 7ed92969721c7b718da26b466bfa095185dfd4ed (diff) | |
Update PokeMod to PokeGen::PokeMod
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@6 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/Author.cpp')
| -rw-r--r-- | pokemod/Author.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/pokemod/Author.cpp b/pokemod/Author.cpp index aad2b60e..20801e01 100644 --- a/pokemod/Author.cpp +++ b/pokemod/Author.cpp @@ -23,7 +23,7 @@ #include "Author.h"
-PokeMod::Author::Author(unsigned _id)
+PokeGen::PokeMod::Author::Author(unsigned _id)
{
LogCtor("Author", id);
name = "";
@@ -32,7 +32,7 @@ PokeMod::Author::Author(unsigned _id) id = _id;
}
-PokeMod::Author::Author(XmlElement &xml, unsigned _id)
+PokeGen::PokeMod::Author::Author(XmlElement &xml, unsigned _id)
{
LogCtorXml("Author", id);
ImportXml(xml, _id);
@@ -41,15 +41,15 @@ PokeMod::Author::Author(XmlElement &xml, unsigned _id) LogIdError("Author");
}
-PokeMod::Author::~Author()
+PokeGen::PokeMod::Author::~Author()
{
LogDtor("Author", id, name);
}
#ifdef POKEMODR
-void PokeMod::Author::Validate(wxListBox &output)
+void PokeGen::PokeMod::Author::Validate(wxListBox &output)
#else
-void PokeMod::Author::Validate()
+void PokeGen::PokeMod::Author::Validate()
#endif
{
isValid = true;
@@ -88,7 +88,7 @@ void PokeMod::Author::Validate() LogValidateOver("Author", isValid, id, name);
}
-void PokeMod::Author::ImportXml(XmlElement &xml, unsigned _id)
+void PokeGen::PokeMod::Author::ImportXml(XmlElement &xml, unsigned _id)
{
LogImportStart("Author");
String curName;
@@ -119,7 +119,7 @@ void PokeMod::Author::ImportXml(XmlElement &xml, unsigned _id) LogImportOver("Author", id, name);
}
-PokeMod::XmlElement PokeMod::Author::ExportXml()
+PokeGen::PokeMod::XmlElement PokeGen::PokeMod::Author::ExportXml()
{
LogExportStart("Author", id, name);
// Declare the elements
@@ -131,43 +131,43 @@ PokeMod::XmlElement PokeMod::Author::ExportXml() return exAuthor;
}
-void PokeMod::Author::SetName(const String &n)
+void PokeGen::PokeMod::Author::SetName(const String &n)
{
LogSetVar("Author", "name", id, INT_MIN, n, name);
name = n;
}
-void PokeMod::Author::SetEmail(const String &e)
+void PokeGen::PokeMod::Author::SetEmail(const String &e)
{
LogSetVar("Author", "email", id, INT_MIN, e, name);
email = e;
}
-void PokeMod::Author::SetRole(const String &r)
+void PokeGen::PokeMod::Author::SetRole(const String &r)
{
LogSetVar("Author", "role", id, INT_MIN, r, name);
role = r;
}
-PokeMod::String PokeMod::Author::GetName()
+PokeGen::PokeMod::String PokeGen::PokeMod::Author::GetName()
{
LogFetchVar("Author", "name", id, INT_MIN, name);
return name;
}
-PokeMod::String PokeMod::Author::GetEmail()
+PokeGen::PokeMod::String PokeGen::PokeMod::Author::GetEmail()
{
LogFetchVar("Author", "email", id, INT_MIN, email, name);
return email;
}
-PokeMod::String PokeMod::Author::GetRole()
+PokeGen::PokeMod::String PokeGen::PokeMod::Author::GetRole()
{
LogFetchVar("Author", "role", id, INT_MIN, role, name);
return role;
}
-bool PokeMod::Author::IsValidEmail()
+bool PokeGen::PokeMod::Author::IsValidEmail()
{
bool valid = true;
Log(String("Author: Validating email of %d (%s)", id, name), PM_DEBUG_DEBUG);
|
