Changeset 1584

Show
Ignore:
Timestamp:
03/02/10 13:43:43 (3 years ago)
Author:
mauser
Message:

added more comments to action.cpp

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/advancedMidiLearn/libs/hydrogen/src/action.cpp

    r1489 r1584  
    4040 
    4141/* Class Action */ 
    42 Action::Action( QString s ) : Object( "Action" ) { 
    43         type = s; 
     42Action::Action( QString typeString ) : Object( "Action" ) { 
     43 
     44        /* 
     45            An "Action" is something which can be interpreted and executed by hydrogen. 
     46            Example: If hydrogen executes the Action with type "MUTE", it will mute the outputs. 
     47 
     48            The two parameters are optional and can be used to carry additional informations, which mean 
     49            only something to this very Action. They can have totally different meanings for other Actions. 
     50            Example: parameter1 is the Mixer strip and parameter 2 the volume change on this strip 
     51        */ 
     52 
     53        type = typeString; 
    4454        QString parameter1 = "0"; 
    4555        QString parameter2 = "0" ; 
     
    5363        __instance = this; 
    5464         
     65        /* 
     66            the actionList holds all Action identfiers hydrogen is able to interpret. 
     67        */ 
    5568        actionList <<"" 
    5669        << "PLAY"