QTfrontend/util/SDLInteraction.h
changeset 6168 6f301dac12ff
parent 6167 728cabee2c9f
child 6170 2b1748161278
equal deleted inserted replaced
6167:728cabee2c9f 6168:6f301dac12ff
    12  * GNU General Public License for more details.
    12  * GNU General Public License for more details.
    13  *
    13  *
    14  * You should have received a copy of the GNU General Public License
    14  * You should have received a copy of the GNU General Public License
    15  * along with this program; if not, write to the Free Software
    15  * along with this program; if not, write to the Free Software
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
       
    17  */
       
    18 
       
    19 /**
       
    20  * @file  SDLInteraction.h
       
    21  * @brief SDLInteraction class definition
    17  */
    22  */
    18 
    23 
    19 #ifndef HEDGEWARS_SDLINTERACTION_H
    24 #ifndef HEDGEWARS_SDLINTERACTION_H
    20 #define HEDGEWARS_SDLINTERACTION_H
    25 #define HEDGEWARS_SDLINTERACTION_H
    21 
    26 
    85     void playSoundFile(const QString & soundFile);
    90     void playSoundFile(const QString & soundFile);
    86 
    91 
    87     /**
    92     /**
    88      * @brief Sets the music track to be played (or not).
    93      * @brief Sets the music track to be played (or not).
    89      *
    94      *
    90      * @param soundFile path of the music file.
    95      * @param musicFile path of the music file.
    91      */
    96      */
    92     void setMusicTrack(const QString & musicFile);
    97     void setMusicTrack(const QString & musicFile);
    93 
    98 
    94     /// Starts the background music if not already playing.
    99     /// Starts the background music if not already playing.
    95     void startMusic();
   100     void startMusic();