SQLite compatibility and related fixes
[kworship.git] / kworship / media / KwAbstractMediaPreferences.h
blobac6be0bf1c04b67ccb6430eaa21c3b7945567b79
1 /***************************************************************************
2 * This file is part of KWorship. *
3 * Copyright 2008 James Hogan <james@albanarts.com> *
4 * *
5 * KWorship is free software: you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation, either version 2 of the License, or *
8 * (at your option) any later version. *
9 * *
10 * KWorship is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU General Public License *
16 * along with KWorship. If not, write to the Free Software Foundation, *
17 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
18 ***************************************************************************/
20 #ifndef _KwAbstractMediaPreferences_h_
21 #define _KwAbstractMediaPreferences_h_
23 /**
24 * @file KwAbstractMediaPreferences.h
25 * @brief A media item's preferences.
26 * @author James Hogan <james@albanarts.com>
29 #include <QObject>
31 class KwMediaManager;
33 /// A media item's preferences.
34 /**
35 * To allow live updating of outputs.
37 class KwAbstractMediaPreferences : public QObject
39 public:
42 * Constructors + destructors
45 /// Default constructor.
46 KwAbstractMediaPreferences();
48 /// Destructor.
49 virtual ~KwAbstractMediaPreferences();
52 * Main interface
55 /// Set the manager.
56 void setManager(KwMediaManager* manager);
58 private:
61 * Variables
64 /// Manager to control.
65 KwMediaManager* m_manager;
69 #endif // _KwAbstractMediaPreferences_h_