xref: /haiku/src/apps/icon-o-matic/shape/commands/CleanUpPathCommand.h (revision f4bd80a2dcc200d939292c877b3fdadb7f3a261e)
1 /*
2  * Copyright 2006, Haiku. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Stephan Aßmus <superstippi@gmx.de>
7  */
8 
9 #ifndef CLEAN_UP_PATH_COMMAND_H
10 #define CLEAN_UP_PATH_COMMAND_H
11 
12 #include "PathCommand.h"
13 #include "VectorPath.h"
14 
15 class CleanUpPathCommand : public PathCommand {
16  public:
17 								CleanUpPathCommand(VectorPath* path);
18 	virtual						~CleanUpPathCommand();
19 
20 	virtual	status_t			Perform();
21 	virtual status_t			Undo();
22 
23 	virtual void				GetName(BString& name);
24 
25  private:
26 			VectorPath			fOriginalPath;
27 };
28 
29 #endif // CLEAN_UP_PATH_COMMAND_H
30