xref: /haiku/src/apps/icon-o-matic/shape/commands/RemoveShapesCommand.h (revision 6427935280aaac0a1a4557bae55184708819560d)
12ce8d31dSStephan Aßmus /*
2*64279352SZardshard  * Copyright 2006-2007, 2023, Haiku.
32ce8d31dSStephan Aßmus  * Distributed under the terms of the MIT License.
42ce8d31dSStephan Aßmus  *
52ce8d31dSStephan Aßmus  * Authors:
62ce8d31dSStephan Aßmus  *		Stephan Aßmus <superstippi@gmx.de>
7*64279352SZardshard  *		Zardshard
82ce8d31dSStephan Aßmus  */
92ce8d31dSStephan Aßmus #ifndef REMOVE_SHAPES_COMMAND_H
102ce8d31dSStephan Aßmus #define REMOVE_SHAPES_COMMAND_H
112ce8d31dSStephan Aßmus 
12325a6253SAxel Dörfler 
1325dc253dSIngo Weinhold #include "IconBuild.h"
14*64279352SZardshard #include "RemoveCommand.h"
152ce8d31dSStephan Aßmus 
16325a6253SAxel Dörfler 
1725dc253dSIngo Weinhold _BEGIN_ICON_NAMESPACE
18*64279352SZardshard 	template <class Type> class Container;
192ce8d31dSStephan Aßmus 	class Shape;
2025dc253dSIngo Weinhold _END_ICON_NAMESPACE
2125dc253dSIngo Weinhold 
2225dc253dSIngo Weinhold _USING_ICON_NAMESPACE
2325dc253dSIngo Weinhold 
242ce8d31dSStephan Aßmus 
25*64279352SZardshard class RemoveShapesCommand : public RemoveCommand<Shape> {
262ce8d31dSStephan Aßmus  public:
272ce8d31dSStephan Aßmus 								RemoveShapesCommand(
28*64279352SZardshard 									Container<Shape>* container,
29*64279352SZardshard 									const int32* indices,
302ce8d31dSStephan Aßmus 									int32 count);
312ce8d31dSStephan Aßmus 	virtual						~RemoveShapesCommand();
322ce8d31dSStephan Aßmus 
332ce8d31dSStephan Aßmus 	virtual void				GetName(BString& name);
342ce8d31dSStephan Aßmus };
352ce8d31dSStephan Aßmus 
362ce8d31dSStephan Aßmus #endif // REMOVE_SHAPES_COMMAND_H
37