//////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2008 The Regents of the University of California // // This file is part of Qbox // // Qbox is distributed under the terms of the GNU General Public License // as published by the Free Software Foundation, either version 2 of // the License, or (at your option) any later version. // See the file COPYING in the root directory of this distribution // or . // //////////////////////////////////////////////////////////////////////////////// // // SpeciesCmd.h: // //////////////////////////////////////////////////////////////////////////////// // $Id: SpeciesCmd.h,v 1.4 2008-09-08 15:56:19 fgygi Exp $ #ifndef SPECIESCMD_H #define SPECIESCMD_H #include #include #include using namespace std; #include "UserInterface.h" #include "Sample.h" class SpeciesCmd : public Cmd { public: Sample *s; SpeciesCmd(Sample *sample) : s(sample) {}; const char *name(void) const { return "species"; } const char *help_msg(void) const { return "\n species\n\n" " syntax: species name uri\n\n" " The species command defines a species name.\n\n"; } int action(int argc, char **argv); }; #endif