1 /* 2 * Copyright 2006, Haiku. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Stephan Aßmus <superstippi@gmx.de> 7 */ 8 9 #ifndef PATH_COMMAND_H 10 #define PATH_COMMAND_H 11 12 #include "Command.h" 13 14 class VectorPath; 15 16 class PathCommand : public Command { 17 public: 18 PathCommand(VectorPath* path); 19 virtual ~PathCommand(); 20 21 virtual status_t InitCheck(); 22 virtual void GetName(BString& name); 23 24 protected: 25 void _Select(const int32* indices, int32 count, 26 bool extend = false) const; 27 28 VectorPath* fPath; 29 }; 30 31 #endif // PATH_COMMAND_H 32