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