From e858d98977a09b3c8faf4df87ada4abc1399e8e5 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 22 May 2007 03:51:45 +0000 Subject: Added a lot of minor PokéMod modules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@12 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemod/Pokemod.cpp | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 pokemod/Pokemod.cpp (limited to 'pokemod/Pokemod.cpp') diff --git a/pokemod/Pokemod.cpp b/pokemod/Pokemod.cpp new file mode 100644 index 00000000..b62b3da7 --- /dev/null +++ b/pokemod/Pokemod.cpp @@ -0,0 +1,61 @@ +///////////////////////////////////////////////////////////////////////////// +// Name: pokemod/Pokemod.cpp +// Purpose: +// Author: Ben Boeckel +// Modified by: Ben Boeckel +// Created: Sat Feb 24 21:41:19 2007 +// Copyright: ©2007 Ben Boeckel and Nerdy Productions +// Licence: +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +///////////////////////////////////////////////////////////////////////////// + +#include "Pokemod.h" + +PokeGen::PokeMod::PokeMod::Pokemod() +{ +} + +PokeGen::PokeMod::PokeMod::Pokemod(std::ifstream &fin) +{ + Log("Pokemod: Constructing by XML", PM_DEBUG_DEBUG); + ImportIni(fin); +} + +PokeGen::PokeMod::PokeMod::~Pokemod() +{ + LogDtor("Pokemod", 0); +} + +void Validate() +{ + // TODO (Validation#1#): Pokemod Validation +} + +#ifdef PG_DEBUG_WINDOW +void Validate(const wxListBox &output) +{ + // TODO (Validation#1#): Pokemod Validation +} +#endif + +void PokeGen::PokeMod::PokeMod::ImportIni(std::ifstream &fin) +{ + // TODO (Xml#1#): Import Pokemod from XML +} + +void PokeGen::PokeMod::PokeMod::ExportXml(std::ofstream &fout) +{ + // TODO (Xml#1#): Export Pokemod to XML +} -- cgit