tool/Command.h
changeset 1869 14f634f5b613
parent 1834 67fc217d7341
child 1870 0cee1fb7f0fd
--- a/tool/Command.h	Thu Mar 11 14:29:43 2010 +0100
+++ b/tool/Command.h	Thu Mar 11 15:03:52 2010 +0100
@@ -85,8 +85,9 @@
         const string &getBriefDescription() const;
 
         typedef list<unsigned int> MasterIndexList;
-        void setMasterIndices(const MasterIndexList &);
-        const MasterIndexList &getMasterIndices() const;
+        void setMasters(const string &);
+        MasterIndexList getMasterIndices() const;
+
         enum Verbosity {
             Quiet,
             Normal,
@@ -137,7 +138,7 @@
     private:
         string name;
         string briefDesc;
-        MasterIndexList masterIndices;
+        string masters;
         Verbosity verbosity;
         int alias;
         int position;
@@ -165,13 +166,6 @@
 
 /****************************************************************************/
 
-inline const Command::MasterIndexList &Command::getMasterIndices() const
-{
-    return masterIndices;
-}
-
-/****************************************************************************/
-
 inline Command::Verbosity Command::getVerbosity() const
 {
     return verbosity;