btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / apps / icon-o-matic / shape / commands / FlipPointsCommand.h
blob274f8492a937334aa59e0ff86fb99258554c8a70
1 /*
2 * Copyright 2007, Haiku. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Stephan Aßmus <superstippi@gmx.de>
7 */
9 #ifndef FLIP_POINTS_COMMAND_H
10 #define FLIP_POINTS_COMMAND_H
12 #include "PathCommand.h"
14 class BPoint;
16 class FlipPointsCommand : public PathCommand {
17 public:
18 FlipPointsCommand(VectorPath* path,
19 const int32* indices,
20 int32 count);
21 virtual ~FlipPointsCommand();
23 virtual status_t InitCheck();
25 virtual status_t Perform();
26 virtual status_t Undo();
28 virtual void GetName(BString& name);
30 private:
31 int32* fIndex;
32 int32 fCount;
35 #endif // FLIP_POINTS_COMMAND_H