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 #include "PathCommand.h" 10 11 #include <stdio.h> 12 13 #include "VectorPath.h" 14 15 // constructor 16 PathCommand::PathCommand(VectorPath* path) 17 : fPath(path) 18 { 19 } 20 21 // destructor 22 PathCommand::~PathCommand() 23 { 24 } 25 26 // InitCheck 27 status_t 28 PathCommand::InitCheck() 29 { 30 return fPath ? B_OK : B_NO_INIT; 31 } 32 33 // GetName 34 void 35 PathCommand::GetName(BString& name) 36 { 37 38 name << ("<modify path>"); 39 } 40 41 // _Select 42 void 43 PathCommand::_Select(const int32* indices, int32 count, 44 bool extend) const 45 { 46 // TODO: ... 47 } 48