1/***************************************************************************
2 areacreator.h - description
3 -------------------
4 begin : Wed Apr 3 2002
5 copyright : (C) 2002 by Jan Schäfer
6 email : janschaefer@users.sourceforge.net
7 ***************************************************************************/
8
9/***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17
18#ifndef AREACREATOR_H
19#define AREACREATOR_H
20
21
22#include "kimagemapeditor.h"
23
24/**
25 * A small creator class which follows the
26 * factory method pattern
27 */
28class AreaCreator
29{
30 public :
31 static Area* create( Area::ShapeType );
32 static Area* create( KImageMapEditor::ToolType);
33};
34
35#endif
36