1/*
2 * Copyright 2006, Haiku.
3 * Distributed under the terms of the MIT License.
4 *
5 * Authors:
6 *		Stephan Aßmus <superstippi@gmx.de>
7 */
8
9#ifndef SET_PROPERTIES_COMMAND_H
10#define SET_PROPERTIES_COMMAND_H
11
12#include "Command.h"
13
14class IconObject;
15class PropertyObject;
16
17class SetPropertiesCommand : public Command {
18 public:
19								SetPropertiesCommand(IconObject** objects,
20											 	  	 int32 objectCount,
21											 	  	 PropertyObject* previous,
22											 	  	 PropertyObject* current);
23	virtual						~SetPropertiesCommand();
24
25	virtual	status_t			InitCheck();
26
27	virtual	status_t			Perform();
28	virtual status_t			Undo();
29
30	virtual void				GetName(BString& name);
31
32 private:
33	IconObject**				fObjects;
34	int32						fObjectCount;
35
36	PropertyObject*				fOldProperties;
37	PropertyObject*				fNewProperties;
38};
39
40#endif // SET_PROPERTIES_COMMAND_H
41