File indexing completed on 2025-01-19 04:24:21

0001 /****************************************************************************************
0002  * Copyright (c) 2008 Edward Toroshchin <edward.hades@gmail.com>                        *
0003  * Copyright (c) 2009 Jeff Mitchell <mitchell@kde.org>                                  *
0004  *                                                                                      *
0005  * This program is free software; you can redistribute it and/or modify it under        *
0006  * the terms of the GNU General Public License as published by the Free Software        *
0007  * Foundation; either version 2 of the License, or (at your option) any later           *
0008  * version.                                                                             *
0009  *                                                                                      *
0010  * This program is distributed in the hope that it will be useful, but WITHOUT ANY      *
0011  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A      *
0012  * PARTICULAR PURPOSE. See the GNU General Public License for more details.             *
0013  *                                                                                      *
0014  * You should have received a copy of the GNU General Public License along with         *
0015  * this program.  If not, see <http://www.gnu.org/licenses/>.                           *
0016  ****************************************************************************************/
0017 
0018 #ifndef AMAROK_COLLECTION_MYSQLCOLLECTION_FACTORY_H
0019 #define AMAROK_COLLECTION_MYSQLCOLLECTION_FACTORY_H
0020 
0021 #include "core/collections/Collection.h"
0022 
0023 namespace Collections {
0024 
0025 class MySqlCollectionFactory : public Collections::CollectionFactory
0026 {
0027     Q_PLUGIN_METADATA(IID AmarokPluginFactory_iid FILE "amarok_collection-mysqlcollection.json")
0028     Q_INTERFACES(Plugins::PluginFactory)
0029     Q_OBJECT
0030 
0031     public:
0032         MySqlCollectionFactory()
0033             : Collections::CollectionFactory() {}
0034 
0035         ~MySqlCollectionFactory() override {}
0036 
0037         void init() override;
0038 };
0039 
0040 } //namespace Collections
0041 
0042 #endif