~ubuntu-branches/ubuntu/trusty/phonon-backend-vlc/trusty-updates

« back to all changes in this revision

Viewing changes to src/mediaobject.h

  • Committer: Package Import Robot
  • Author(s): Modestas Vainius, Pino Toscano, Modestas Vainius
  • Date: 2013-11-05 13:11:51 UTC
  • mfrom: (1.4.3)
  • Revision ID: package-import@ubuntu.com-20131105131151-8gg32rw6ewf0zvx7
Tags: 0.7.0-1
* New upstream release.
* Team upload.

[ Pino Toscano ]
* Bump the debhelper compatibility to 9:
  - bump compat to 9
  - bump the debhelper build dependency to >= 9
* Update Vcs-* headers.
* Fix watch file.
* Convert to multiarch:
  - install the plugin in a multiarch location
  - mark all the packages as Multi-Arch: same
  - add ${misc:Pre-Depends} in phonon-backend-vlc

[ Modestas Vainius ]
* Require phonon 4.7.0(.0).
* Bump Standards-Version to 3.9.5: no further changes needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
    Copyright (C) 2007-2008 Tanguy Krotoff <tkrotoff@gmail.com>
3
3
    Copyright (C) 2008 Lukas Durfina <lukas.durfina@gmail.com>
4
4
    Copyright (C) 2009 Fathi Boudra <fabo@kde.org>
5
 
    Copyright (C) 2009-2011 vlc-phonon AUTHORS
 
5
    Copyright (C) 2009-2011 vlc-phonon AUTHORS <kde-multimedia@kde.org>
6
6
    Copyright (C) 2010-2011 Harald Sitter <sitter@kde.org>
7
7
 
8
8
    This library is free software; you can redistribute it and/or
78
78
     *
79
79
     * \param parent A parent for the QObject
80
80
     */
81
 
    MediaObject(QObject *parent);
 
81
    explicit MediaObject(QObject *parent);
82
82
    ~MediaObject();
83
83
 
84
84
    /**
256
256
 
257
257
    void setBufferStatus(int percent);
258
258
 
 
259
    /** Refreshes all MediaController descriptors if Video is present. */
 
260
    void refreshDescriptors();
 
261
 
259
262
private:
260
263
    /**
261
264
     * This method actually calls the functions needed to begin playing the media.
277
280
     */
278
281
    void seekInternal(qint64 milliseconds);
279
282
 
280
 
    bool checkGaplessWaiting();
 
283
    bool hasNextTrack();
281
284
 
282
285
    /**
283
286
     * Changes the current state to buffering and sets the new current file.