btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / apps / icon-o-matic / shape / commands / InsertPointCommand.h
bloba934da869d74a1592f838cf91528ea6201369de2
1 /*
2 * Copyright 2006, Haiku.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Stephan Aßmus <superstippi@gmx.de>
7 */
9 #ifndef INSERT_POINT_COMMAND_H
10 #define INSERT_POINT_COMMAND_H
12 #include <Point.h>
14 #include "PathCommand.h"
16 class InsertPointCommand : public PathCommand {
17 public:
18 InsertPointCommand(VectorPath* path,
19 int32 index,
20 const int32* selected,
21 int32 count);
22 virtual ~InsertPointCommand();
24 virtual status_t Perform();
25 virtual status_t Undo();
26 virtual status_t Redo();
28 virtual void GetName(BString& name);
30 private:
31 int32 fIndex;
32 BPoint fPoint;
33 BPoint fPointIn;
34 BPoint fPointOut;
36 BPoint fPreviousOut;
37 BPoint fNextIn;
39 int32* fOldSelection;
40 int32 fOldSelectionCount;
43 #endif // INSERT_POINT_COMMAND_H