2 * Copyright 2006-2007, Haiku.
3 * Distributed under the terms of the MIT License.
6 * Stephan Aßmus <superstippi@gmx.de>
8 #ifndef ADD_TRANSFORMERS_COMMAND_H
9 #define ADD_TRANSFORMERS_COMMAND_H
13 #include "IconBuild.h"
24 // TODO: make a templated "add items" command?
26 class AddTransformersCommand
: public Command
{
28 AddTransformersCommand(
30 Transformer
** const transformers
,
33 virtual ~AddTransformersCommand();
35 virtual status_t
InitCheck();
37 virtual status_t
Perform();
38 virtual status_t
Undo();
40 virtual void GetName(BString
& name
);
44 Transformer
** fTransformers
;
47 bool fTransformersAdded
;
50 #endif // ADD_TRANSFORMERS_COMMAND_H