Ignore:
Timestamp:
07/18/14 07:49:27 (13 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, enter/10, releng/10.0.3, releng/10.1, releng/10.1.1, releng/10.1.2
Children:
b5bed61
Parents:
ba6f48c
Message:

Add auto-detection of multimedia file extensions into lumina-fm, and also add a function into libLumina for converting a mime-type into a list of file extensions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lumina/lumina-fm/MainUI.h

    r4333764 r0494142  
    3636 
    3737//Phonon widgets 
     38#include <Phonon/BackendCapabilities> 
    3839#include <Phonon/MediaObject> 
    3940#include <Phonon/VideoWidget> 
     
    7879        Phonon::SeekSlider *playerSlider; 
    7980        QFile *playerFile; 
     81        QString playerTTime; //total time - to prevent recalculation every tick 
    8082 
    8183        //Internal variables 
     
    172174        void playerNext(); 
    173175        void playerPrevious(); 
    174         void playerFinished(); 
    175         void playerStateChanged(Phonon::State newstate, Phonon::State oldstate); 
    176         void playerTimeChanged(qint64 ctime); 
     176        void playerFinished(); //automatically called by the media object 
     177        void playerStateChanged(Phonon::State newstate, Phonon::State oldstate); //automatically called by the media object 
     178        void playerVideoAvailable(bool showVideo); //automatically called by the media object 
     179        void playerTimeChanged(qint64 ctime); //automatically called by the media object 
    177180        void playerFileChanged(); 
    178181         
Note: See TracChangeset for help on using the changeset viewer.