Lomiri
Loading...
Searching...
No Matches
DebuggingController.h
1/*
2 * Copyright (C) 2016 Canonical Ltd.
3 *
4 * This program is free software: you can redistribute it and/or modify it
5 * under the terms of the GNU Lesser General Public License, as
6 * published by the Free Software Foundation; either version 2.1 or 3.0
7 * of the License.
8 *
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranties of
11 * MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
12 * PURPOSE. See the applicable version of the GNU Lesser General Public
13 * License for more details.
14 *
15 * You should have received a copy of both the GNU Lesser General Public
16 * License along with this program. If not, see <http://www.gnu.org/licenses/>
17 */
18
19
20#ifndef DEBUGGINGCONTROLLER_H
21#define DEBUGGINGCONTROLLER_H
22
23#include <QQmlEngine>
24#include <QQmlExtensionPlugin>
25#include <QQuickWindow>
26#include <QMutex>
27
28#include "lomiridbusobject.h"
29
30class DebuggingController: public LomiriDBusObject
31{
32 Q_OBJECT
33 Q_CLASSINFO("D-Bus Interface", "com.lomiri.Shell.Debugging")
34
35public:
36 DebuggingController(QObject *parent = nullptr);
37 ~DebuggingController() = default;
38
39public Q_SLOTS:
44 Q_SCRIPTABLE void SetSceneGraphVisualizer(const QString &visualizer);
45
49 Q_SCRIPTABLE void SetSlowAnimations(bool slowAnimations);
50
54 Q_SCRIPTABLE void SetLoggingFilterRules(const QString &filterRules);
55
56};
57#endif // DEBUGGINGCONTROLLER_H