PageRenderTime 22ms CodeModel.GetById 17ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/src/ubuntuunityhack.h

http://github.com/tomahawk-player/tomahawk
C++ Header | 40 lines | 17 code | 7 blank | 16 comment | 0 complexity | cd5e4311e51d685bb76e6bb72a2b2c3d MD5 | raw file
 1/* This file is part of Clementine.
 2   Copyright 2010, David Sansome <me@davidsansome.com>
 3
 4   Clementine is free software: you can redistribute it and/or modify
 5   it under the terms of the GNU General Public License as published by
 6   the Free Software Foundation, either version 3 of the License, or
 7   (at your option) any later version.
 8
 9   Clementine is distributed in the hope that it will be useful,
10   but WITHOUT ANY WARRANTY; without even the implied warranty of
11   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12   GNU General Public License for more details.
13
14   You should have received a copy of the GNU General Public License
15   along with Clementine.  If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#ifndef UBUNTUUNITYHACK_H
19#define UBUNTUUNITYHACK_H
20
21#include <QObject>
22
23class QProcess;
24
25class UbuntuUnityHack : public QObject {
26  Q_OBJECT
27public:
28  UbuntuUnityHack(QObject* parent = NULL);
29
30private slots:
31  void GetFinished(int exit_code);
32  void GetError();
33
34private:
35  static const char* kGSettingsFileName;
36  static const char* kUnityPanel;
37  static const char* kUnitySystrayWhitelist;
38};
39
40#endif // UBUNTUUNITYHACK_H