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 <Catalog.h> 14 #include <Locale.h> 15 16 #include "VectorPath.h" 17 18 19 #undef B_TRANSLATION_CONTEXT 20 #define B_TRANSLATION_CONTEXT "Icon-O-Matic-PathCmd" 21 22 23 // constructor PathCommand(VectorPath * path)24PathCommand::PathCommand(VectorPath* path) 25 : fPath(path) 26 { 27 } 28 29 // destructor ~PathCommand()30PathCommand::~PathCommand() 31 { 32 } 33 34 // InitCheck 35 status_t InitCheck()36PathCommand::InitCheck() 37 { 38 return fPath ? B_OK : B_NO_INIT; 39 } 40 41 // GetName 42 void GetName(BString & name)43PathCommand::GetName(BString& name) 44 { 45 46 name << B_TRANSLATE("<modify path>"); 47 } 48 49 // _Select 50 void _Select(const int32 * indices,int32 count,bool extend) const51PathCommand::_Select(const int32* indices, int32 count, 52 bool extend) const 53 { 54 // TODO: ... 55 } 56