Ignore:
Timestamp:
Jun 21, 2013, 10:16:56 AM (11 years ago)
Author:
lemeur
Message:

definition des compatibilites des elements dans les software

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/sources/controler/include/nomDeLogiciel.h

    r401 r418  
    1616  enum Logiciel
    1717  {
    18     parmela, transport, generator, test, unknownSoftware
     18    parmela, transport, generator, useraction, test, unknownSoftware
    1919  };
    2020
     
    2828  static Logiciel fromString( std::string s);
    2929  static std::string toString( Logiciel lg); 
    30   //  static Logiciel fromValue( int v); 
    31   //  static int toValue( Logiciel lg);
     30  std::string getWtColor( nomDeLogiciel::Logiciel lg) const;
    3231 
    3332 public :
     
    4039 
    4140  inline std::string getString() const {return progString_;}
    42  
     41
     42  inline nomDeLogiciel::Logiciel getLogiciel() const { return program_; }
     43
     44    /** Color of the background of the sofware
     45     Should be a valid Css name as FFEEDD
     46     */
     47  inline std::string  getColor() const {return getWtColor(program_);}
    4348  // operators
    4449 
Note: See TracChangeset for help on using the changeset viewer.