2010-03-24 21:58:17 +01:00
|
|
|
/* This file is part of Clementine.
|
2014-11-02 19:36:21 +01:00
|
|
|
Copyright 2010-2012, David Sansome <me@davidsansome.com>
|
|
|
|
Copyright 2010, 2014, John Maguire <john.maguire@gmail.com>
|
2014-11-02 19:40:52 +01:00
|
|
|
Copyright 2014, Krzysztof Sobiecki <sobkas@gmail.com>
|
2010-03-24 21:58:17 +01:00
|
|
|
|
|
|
|
Clementine is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
Clementine is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with Clementine. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "mpris.h"
|
2020-09-18 16:15:19 +02:00
|
|
|
|
2011-01-08 16:31:14 +01:00
|
|
|
#include "mpris2.h"
|
2010-03-24 21:58:17 +01:00
|
|
|
|
2010-12-04 23:27:58 +01:00
|
|
|
namespace mpris {
|
|
|
|
|
2012-02-13 21:44:04 +01:00
|
|
|
Mpris::Mpris(Application* app, QObject* parent)
|
2016-03-30 18:10:29 +02:00
|
|
|
: QObject(parent), mpris2_(new mpris::Mpris2(app, this)) {
|
2011-01-08 16:31:14 +01:00
|
|
|
connect(mpris2_, SIGNAL(RaiseMainWindow()), SIGNAL(RaiseMainWindow()));
|
2010-11-21 16:13:26 +01:00
|
|
|
}
|
2010-12-04 23:27:58 +01:00
|
|
|
|
2014-02-07 16:34:20 +01:00
|
|
|
} // namespace mpris
|