PageRenderTime 30ms CodeModel.GetById 27ms RepoModel.GetById 0ms 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
Possible License(s): LGPL-2.1, BSD-3-Clause, GPL-3.0, GPL-2.0
  1. /* This file is part of Clementine.
  2. Copyright 2010, David Sansome <me@davidsansome.com>
  3. Clementine is free software: you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published by
  5. the Free Software Foundation, either version 3 of the License, or
  6. (at your option) any later version.
  7. Clementine is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with Clementine. If not, see <http://www.gnu.org/licenses/>.
  13. */
  14. #ifndef UBUNTUUNITYHACK_H
  15. #define UBUNTUUNITYHACK_H
  16. #include <QObject>
  17. class QProcess;
  18. class UbuntuUnityHack : public QObject {
  19. Q_OBJECT
  20. public:
  21. UbuntuUnityHack(QObject* parent = NULL);
  22. private slots:
  23. void GetFinished(int exit_code);
  24. void GetError();
  25. private:
  26. static const char* kGSettingsFileName;
  27. static const char* kUnityPanel;
  28. static const char* kUnitySystrayWhitelist;
  29. };
  30. #endif // UBUNTUUNITYHACK_H