xref: /haiku/src/apps/icon-o-matic/shape/commands/PathCommand.h (revision 1acbe440b8dd798953bec31d18ee589aa3f71b73)
1 /*
2  * Copyright 2006-2007, Haiku.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Stephan Aßmus <superstippi@gmx.de>
7  */
8 #ifndef PATH_COMMAND_H
9 #define PATH_COMMAND_H
10 
11 
12 #include "Command.h"
13 
14 
15 namespace BPrivate {
16 namespace Icon {
17 	class VectorPath;
18 }
19 }
20 using namespace BPrivate::Icon;
21 
22 class PathCommand : public Command {
23  public:
24 								PathCommand(VectorPath* path);
25 	virtual						~PathCommand();
26 
27 	virtual	status_t			InitCheck();
28 	virtual void				GetName(BString& name);
29 
30  protected:
31 			void				_Select(const int32* indices, int32 count,
32 										bool extend = false) const;
33 
34 			VectorPath*			fPath;
35 };
36 
37 #endif // PATH_COMMAND_H
38