btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / apps / icon-o-matic / shape / commands / ChangePointCommand.h
blob1d348c0e18fd75562dd81a663b3dc8fa913f50f9
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 CHANGE_POINT_COMMAND_H
10 #define CHANGE_POINT_COMMAND_H
12 #include <Point.h>
14 #include "PathCommand.h"
16 class ChangePointCommand : public PathCommand {
17 public:
18 ChangePointCommand(VectorPath* path,
19 int32 index,
20 const int32* selected,
21 int32 count);
22 virtual ~ChangePointCommand();
24 virtual status_t InitCheck();
26 virtual status_t Perform();
27 virtual status_t Undo();
28 virtual status_t Redo();
30 virtual void GetName(BString& name);
32 private:
33 int32 fIndex;
35 BPoint fPoint;
36 BPoint fPointIn;
37 BPoint fPointOut;
38 bool fConnected;
40 int32* fOldSelection;
41 int32 fOldSelectionCount;
44 #endif // CHANGE_POINT_COMMAND_H