~ubuntu-branches/ubuntu/lucid/mplayerthumbs/lucid

« back to all changes in this revision

Viewing changes to src/phononbackend.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Thomas
  • Date: 2009-06-21 16:41:15 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090621164115-9w006t552m6juiun
Tags: 1.2-kde4.3.0-0ubuntu1
* New upstream release
* Transition to kde.mk from pkg-kde-tools:
  - Bump debhelper build-dep to 7
  - Bump compat version to 7
  - Include kde.mk and debhelper.mk in debian/rules
* Add shlib-depends to depends
* Bump Standards-Version to 3.8.2
* Remove unnecessary build-depend on cmake, bump kdelibs5-dev build-depend
  to 4.2.85 as its the first version to build-dep on cmake
* Drop conflict on libarts1-xine, package hasn't existed for a while
* Move homepage from the package description to its own field.
* Remove debian/patches. The only patch was a GCC fix that hasn't been
  applied in the last release, and mplayerthumbs seems to work with the 
  latest GCC
* Add debian/patches/kubuntu_01_out_of_source_build.diff so that we can
  build outside of kdemultimedia

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
   Copyright (C) 2006-2009
 
3
   by Marco Gulino <marco.gulino@gmail.com>
 
4
 
 
5
   This library is free software; you can redistribute it and/or
 
6
   modify it under the terms of the GNU Library General Public
 
7
   License version 2.1 as published by the Free Software Foundation.
 
8
 
 
9
   This library is distributed in the hope that it will be useful,
 
10
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
12
   Library General Public License for more details.
 
13
 
 
14
   You should have received a copy of the GNU Library General Public License
 
15
   along with this library; see the file COPYING.LIB.  If not, write to
 
16
   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 
17
   Boston, MA 02110-1301, USA.
 
18
*/
 
19
 
 
20
#ifndef PHONONBACKEND_H
 
21
#define PHONONBACKEND_H
 
22
#include "videobackendiface.h"
 
23
namespace Phonon {
 
24
  class MediaObject;
 
25
  class VideoWidget;
 
26
}
 
27
class PhononBackend : public VideoBackendIFace
 
28
{
 
29
public:
 
30
  PhononBackend(PreviewingFile *previewingFile, MPlayerThumbsCfg* cfg);
 
31
  virtual ~PhononBackend();
 
32
  virtual Thumbnail* preview (FrameSelector *frameSelector);
 
33
  virtual bool readStreamInformation ();
 
34
 
 
35
protected:
 
36
  virtual bool playerCannotPreview ();
 
37
private:
 
38
  Phonon::MediaObject *mediaObject;
 
39
  Phonon::VideoWidget *videoWidget;
 
40
};
 
41
 
 
42
#endif // PHONONBACKEND_H