File indexing completed on 2024-10-06 04:00:37

0001 /***************************************************************************
0002                           areacreator.h  -  description
0003                              -------------------
0004     begin                : Wed Apr 3 2002
0005     copyright            : (C) 2002 by Jan Schäfer
0006     email                : janschaefer@users.sourceforge.net
0007  ***************************************************************************/
0008 
0009 /***************************************************************************
0010  *                                                                         *
0011  *   This program is free software; you can redistribute it and/or modify  *
0012  *   it under the terms of the GNU General Public License as published by  *
0013  *   the Free Software Foundation; either version 2 of the License, or     *
0014  *   (at your option) any later version.                                   *
0015  *                                                                         *
0016  ***************************************************************************/
0017 
0018 #ifndef AREACREATOR_H
0019 #define AREACREATOR_H
0020 
0021 
0022 #include "kimagemapeditor.h"
0023 
0024 /**
0025  * A small creator class which follows the
0026  * factory method pattern
0027  */
0028 class AreaCreator
0029 {
0030     public :
0031         static Area* create( Area::ShapeType );
0032         static Area* create( KImageMapEditor::ToolType);
0033 };
0034 
0035 #endif