~ubuntu-branches/debian/experimental/smplayer/experimental

« back to all changes in this revision

Viewing changes to src/core.h

  • Committer: Bazaar Package Importer
  • Author(s): Maia Kozheva
  • Date: 2009-03-31 23:05:43 UTC
  • mfrom: (1.1.9 upstream) (3.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090331230543-1ned1omblgt4qiak
* New upstream release. (Closes: #523791)
  - Reworked subtitle font preferences. (Closes: #503295)
  - No longer installs qt_fr.qm. (Closes: #486314)
* debian/control:
  - Bumped Standards-Version to 3.8.1.
  - Changed maintainer name (still the same person and GPG key).
  - Changed section to video.
  - Build-depend on zlib1g-dev for findsubtitles.
  - Require Qt >= 4.3 per readme.
  - Added ${misc:Depends}.
  - Make smplayer-translations depend on smplayer and smplayer recommend
    smplayer-translations, not the other way round. (Closes: #489375)
* debian/copyright:
  - Significantly expanded per-file with new upstream authors.
* debian/rules:
  - Make make use correct uic in install.
  - Clean svn_revision.
  - Removed get-orig-source - not needed with uscan --repack.
* debian/patches/01_gl_translation.patch:
  - Added patch to fix lrelease error on smplayer_gl.ts.
* Added debian/README.source for simple-patchsys.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*  smplayer, GUI front-end for mplayer.
2
 
    Copyright (C) 2006-2008 Ricardo Villalba <rvm@escomposlinux.org>
 
2
    Copyright (C) 2006-2009 Ricardo Villalba <rvm@escomposlinux.org>
3
3
 
4
4
    This program is free software; you can redistribute it and/or modify
5
5
    it under the terms of the GNU General Public License as published by
39
39
class QSettings;
40
40
 
41
41
#ifdef Q_OS_WIN
 
42
#ifdef SCREENSAVER_OFF
42
43
class WinScreenSaver;
43
44
#endif
 
45
#endif
44
46
 
45
47
class Core : public QObject
46
48
{
195
197
        void incSaturation();
196
198
        void decSaturation();
197
199
 
 
200
        void setSubDelay(int delay);
198
201
        void incSubDelay();
199
202
        void decSubDelay();
200
203
 
 
204
        void setAudioDelay(int delay);
201
205
        void incAudioDelay();
202
206
        void decAudioDelay();
203
207
 
339
343
        void initSubtitleTrack(const SubTracks &);
340
344
        void setSubtitleTrackAgain(const SubTracks &);
341
345
#endif
 
346
#if DVDNAV_SUPPORT
 
347
        void dvdTitleChanged(int);
 
348
        void durationChanged(double);
 
349
        void askForInfo();
 
350
        void dvdnavUpdateMousePos(QPoint);
 
351
#endif
342
352
 
343
353
protected:
344
354
        void playNewFile(QString file, int seek=-1);
386
396
        void needResize(int w, int h);
387
397
        void noVideo();
388
398
        void volumeChanged(int);
389
 
#if NOTIFY_SUB_CHANGES
 
399
#if NOTIFY_AUDIO_CHANGES
390
400
        void audioTracksChanged();
391
401
#endif
392
402
 
415
425
#endif
416
426
 
417
427
#ifdef Q_OS_WIN
 
428
#ifdef SCREENSAVER_OFF
418
429
        WinScreenSaver * win_screensaver;
419
430
#endif
 
431
#endif
420
432
    
421
433
private:
422
434
        // Some variables to proper restart