QTfrontend/util/SDLInteraction.h
changeset 6585 6225b838a630
parent 6170 2b1748161278
child 6616 f77bb02b669f
equal deleted inserted replaced
6584:5bb48450b978 6585:6225b838a630
    57     QString m_musicTrack; ///< path to the music track;
    57     QString m_musicTrack; ///< path to the music track;
    58     bool m_isPlayingMusic; ///< true if music was started but not stopped again.
    58     bool m_isPlayingMusic; ///< true if music was started but not stopped again.
    59 
    59 
    60     QMap<QString,Mix_Chunk*> * m_soundMap; ///< maps sound file paths to channels
    60     QMap<QString,Mix_Chunk*> * m_soundMap; ///< maps sound file paths to channels
    61 
    61 
       
    62     int lastchannel; ///< channel of the last music played
       
    63 
    62 public:
    64 public:
    63     /**
    65     /**
    64      * @brief Returns reference to the <i>singleton</i> instance of this class.
    66      * @brief Returns reference to the <i>singleton</i> instance of this class.
    65      *
    67      *
    66      * @see <a href="http://en.wikipedia.org/wiki/Singleton_pattern">singleton pattern</a>
    68      * @see <a href="http://en.wikipedia.org/wiki/Singleton_pattern">singleton pattern</a>