diff options
Diffstat (limited to 'pokemodr/models/SpeciesEvolutionGroupModel.h')
-rw-r--r-- | pokemodr/models/SpeciesEvolutionGroupModel.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pokemodr/models/SpeciesEvolutionGroupModel.h b/pokemodr/models/SpeciesEvolutionGroupModel.h new file mode 100644 index 00000000..fec293e2 --- /dev/null +++ b/pokemodr/models/SpeciesEvolutionGroupModel.h @@ -0,0 +1,40 @@ +/* + * Copyright 2008 Ben Boeckel <MathStuf@gmail.com> + * + * 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 3 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, see <http://www.gnu.org/licenses/>. + */ + +#ifndef __POKEMODR_SPECIESEVOLUTIONGROUPMODEL__ +#define __POKEMODR_SPECIESEVOLUTIONGROUPMODEL__ + +// Model includes +#include "GroupModel.h" + +// Forward declarations +class Species; + +class SpeciesEvolutionGroupModel : public GroupModel +{ + public: + SpeciesEvolutionGroupModel(BaseModel* parent, Species* species); + ~SpeciesEvolutionGroupModel(); + + bool insertRows(const int rows); + + bool removeRows(const int position, const int rows); + protected: + void setupData(); +}; + +#endif |