HaikuDepot: notify work status from main window
[haiku.git] / src / apps / icon-o-matic / document / SetPropertiesCommand.h
blobb1e3f0d22380688405df2e82f688b11dfeccf8fb
1 /*
2 * Copyright 2006, Haiku.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Stephan Aßmus <superstippi@gmx.de>
7 */
9 #ifndef SET_PROPERTIES_COMMAND_H
10 #define SET_PROPERTIES_COMMAND_H
12 #include "Command.h"
14 class IconObject;
15 class PropertyObject;
17 class SetPropertiesCommand : public Command {
18 public:
19 SetPropertiesCommand(IconObject** objects,
20 int32 objectCount,
21 PropertyObject* previous,
22 PropertyObject* current);
23 virtual ~SetPropertiesCommand();
25 virtual status_t InitCheck();
27 virtual status_t Perform();
28 virtual status_t Undo();
30 virtual void GetName(BString& name);
32 private:
33 IconObject** fObjects;
34 int32 fObjectCount;
36 PropertyObject* fOldProperties;
37 PropertyObject* fNewProperties;
40 #endif // SET_PROPERTIES_COMMAND_H