xref: /haiku/src/apps/icon-o-matic/shape/commands/AddPathsCommand.h (revision e1c4049fed1047bdb957b0529e1921e97ef94770)
1 /*
2  * Copyright 2006-2007, 2023, Haiku.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Stephan Aßmus <superstippi@gmx.de>
7  *		Zardshard
8  */
9 #ifndef ADD_PATHS_COMMAND_H
10 #define ADD_PATHS_COMMAND_H
11 
12 
13 #include "AddCommand.h"
14 #include "IconBuild.h"
15 
16 
17 _BEGIN_ICON_NAMESPACE
18 	class VectorPath;
19 _END_ICON_NAMESPACE
20 
21 _USING_ICON_NAMESPACE
22 
23 
24 class AddPathsCommand : public AddCommand<VectorPath> {
25  public:
26 								AddPathsCommand(
27 									Container<VectorPath>* container,
28 									const VectorPath* const* paths,
29 									int32 count,
30 									bool ownsPaths,
31 									int32 index);
32 	virtual						~AddPathsCommand();
33 
34 	virtual void				GetName(BString& name);
35 };
36 
37 #endif // ADD_PATHS_COMMAND_H
38