xref: /haiku/src/apps/icon-o-matic/shape/commands/PathCommand.h (revision e81a954787e50e56a7f06f72705b7859b6ab06d1)
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 #include "IconBuild.h"
14 
15 
16 _BEGIN_ICON_NAMESPACE
17 	class VectorPath;
18 _END_ICON_NAMESPACE
19 
20 _USING_ICON_NAMESPACE
21 
22 
23 class PathCommand : public Command {
24  public:
25 								PathCommand(VectorPath* path);
26 	virtual						~PathCommand();
27 
28 	virtual	status_t			InitCheck();
29 	virtual void				GetName(BString& name);
30 
31  protected:
32 			void				_Select(const int32* indices, int32 count,
33 										bool extend = false) const;
34 
35 			VectorPath*			fPath;
36 };
37 
38 #endif // PATH_COMMAND_H
39