~ubuntu-branches/debian/sid/kodi/sid

« back to all changes in this revision

Viewing changes to xbmc/music/karaoke/karaokelyrics.h

  • Committer: Package Import Robot
  • Author(s): Balint Reczey
  • Date: 2015-08-18 14:16:59 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20150818141659-4lgq2pksj7918osz
Tags: 15.1+dfsg1-1
* New upstream release 15.0
  See http://www.kodi.tv/kodi-15-0-isengard-one-release-to-rule-them-all/
* Depend on libav.*-dev provided by src:ffmpeg
* Recommend udisks2 instead of udisks.
  Udisks has been removed from unstable but support for udisks2 is not
  implemented yet.
* Ship patch helping Jessie backports
* Refresh patches
* Eliminate __DATE__ macros from source to make build more reproducible
* Build-depend on libsdl2.*-dev instead of libsdl.*-dev
* Build-depend on libgif-dev
* Drop obsoleted fix of installed header's include paths
* Refresh include file list included by kodi-addons-dev
* Build depend on libcec (>= 3)
* Build-depend on groovy2 instead of groovy
* Sort build dependencies
* Fix packaging repository URL
* Remove removed files from debian/copyright
* Fix filenames with spaces in debian/copyright
* Ship TexturePacker in kodi-addons-dev in /usr/lib/kodi
* Build depend on libcec-platform-dev
* Stop using embedded gnulib modules in rsxs screensaver (Closes: #795813)
* Add missing copyright paragraphs to d/copyright
* Stop marking files as excluded which are removed from upstream tarball
  already
* Bump standards version to 3.9.6
* New upstream release 15.1
  See http://kodi.tv/kodi-15-1-isengard-maintenance-release/
* Move TexturePacker to kodi-bin
* Stop building TexturePacker statically

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 *
22
22
 */
23
23
 
24
 
#include "utils/StdString.h"
 
24
#include <string>
25
25
 
26
26
// C++ Interface: karaokelyrics
27
27
 
45
45
    virtual bool HasVideo() = 0;
46
46
 
47
47
    //! Should return video parameters if HasVideo() returned true
48
 
    virtual void GetVideoParameters( CStdString& path, int64_t& offset  ) = 0;
 
48
    virtual void GetVideoParameters( std::string& path, int64_t& offset  ) = 0;
49
49
 
50
50
    //! This function is called when the karoke visualisation window created. It may
51
51
    //! be called after Start(), but is guaranteed to be called before Render()
68
68
    //! This function gets 'real' time since the moment song begins, corrected by using remote control
69
69
    //! to increase/decrease lyrics delays. All lyric show functions must use it to properly calculate
70
70
    //! the offset.
71
 
    CStdString getSongFile() const;
 
71
    std::string getSongFile() const;
72
72
 
73
73
    //! Sets the path to the lyrics file, and restores musicdb values
74
 
    void initData( const CStdString& songPath );
 
74
    void initData( const std::string& songPath );
75
75
 
76
76
    //! Adjusts lyrics delay
77
77
    void lyricsDelayIncrease();
85
85
    double        m_avOrigDelay;
86
86
 
87
87
    //! Current playing song
88
 
    CStdString    m_songPath;
 
88
    std::string   m_songPath;
89
89
    long          m_idSong;
90
90
};
91
91