/***************************************************************************
                          eraser.h  -  description
                             -------------------
    begin                : Thu Mar 9 2000
    copyright            : (C) 2000 by Marc Bartsch
    email                : marc.bartsch@topmail.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 ERASER_H
#define ERASER_H

#include <geotool.h>

/**This class represents the tool to erase an object and all its child objects.
  *@author Marc Bartsch
  */

class Eraser : public GeoTool
{
	public:

		Eraser();
		~Eraser();

		virtual void processObjects();

	protected:

		void searchForChildren( GeoObjects *obj, QList <GeoObjects> & list );
};

#endif


