/***************************************************************************
                          geotool.h  -  description
                             -------------------
    begin                : Sun Jul 15 2001
    copyright            : (C) 2001 by Marc Bartsch
    email                : marc.bartsch@web.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef GEOTOOL_H
#define GEOTOOL_H

#include <geoobjects.h>

/**This is the base class all tool or helper objects will be derived from.
  *@author Marc Bartsch
  */

class GeoTool : public GeoObjects
{
	public:

		GeoTool();
		virtual ~GeoTool();

		virtual void initObject( GeoObjects* obj );
		virtual void processObjects();
		virtual void deleteObjects( QList <GeoObjects> & list );
		virtual void addObjects( QList <GeoObjects> & list );

	protected:

		QList <GeoObjects> eraseList;
		QList <GeoObjects> addList;
};

#endif
