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

« back to all changes in this revision

Viewing changes to src/effectmanager.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) 2011 Harald Sitter <sitter@kde.org>
7
7
 
8
8
    This library is free software; you can redistribute it and/or
64
64
    }
65
65
 
66
66
private:
67
 
    const QString m_name;
68
 
    const QString m_description;
69
 
    const QString m_author;
70
 
    const int m_filter;
71
 
    const Type m_type;
 
67
    QString m_name;
 
68
    QString m_description;
 
69
    QString m_author;
 
70
    int m_filter;
 
71
    Type m_type;
72
72
};
73
73
 
74
74
/** \brief Manages a list of effects.
87
87
     * \warning Currently it doesn't add any effects, everything is disabled.
88
88
     * \see EffectInfo
89
89
     */
90
 
    EffectManager(QObject *parent = 0);
 
90
    explicit EffectManager(QObject *parent = 0);
91
91
 
92
92
    /// Deletes all the effects from the lists and destroys the effect manager.
93
93
    ~EffectManager();
94
94
 
95
95
    /// Returns a list of available audio effects
96
 
    const QList<EffectInfo *> audioEffects() const;
 
96
    const QList<EffectInfo> audioEffects() const;
97
97
 
98
98
    /// Returns a list of available video effects
99
 
    const QList<EffectInfo *> videoEffects() const;
 
99
    const QList<EffectInfo> videoEffects() const;
100
100
 
101
101
    /// Returns a list of available effects
102
 
    const QList<EffectInfo *> effects() const;
 
102
    const QList<EffectInfo> effects() const;
 
103
 
 
104
    QObject *createEffect(int id, QObject *parent);
103
105
 
104
106
private:
105
107
    /// Generates the aggegated list of effects from both video and audio
106
108
    void updateEffects();
107
109
 
108
 
    QList<EffectInfo *> m_effectList;
109
 
    QList<EffectInfo *> m_audioEffectList;
110
 
    QList<EffectInfo *> m_videoEffectList;
 
110
    QList<EffectInfo> m_effectList;
 
111
    QList<EffectInfo> m_audioEffectList;
 
112
    QList<EffectInfo> m_videoEffectList;
111
113
    bool m_equalizerEnabled;
112
114
};
113
115