GCC Code Coverage Report


Directory: ./
File: lib/configoperation_p.h
Date: 2023-04-20 22:59:23
Exec Total Coverage
Lines: 1 1 100.0%
Branches: 0 0 -%

Line Branch Exec Source
1 /*
2 * Copyright (C) 2014 Daniel Vratil <dvratil@redhat.com>
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library 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 GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 *
18 */
19 #include <QObject>
20
21 #include "backend.h"
22 #include "backendinterface.h"
23 #include "configoperation.h"
24
25 namespace Disman
26 {
27 class ConfigOperationPrivate : public QObject
28 {
29 Q_OBJECT
30
31 public:
32 explicit ConfigOperationPrivate(ConfigOperation* qq);
33 ~ConfigOperationPrivate() override;
34
35 // For out-of-process
36 void request_backend();
37 virtual void backend_ready(org::kwinft::disman::backend* backend);
38
39 // For in-process
40 Disman::Backend* loadBackend();
41
42 public Q_SLOTS:
43 void do_emit_result();
44
45 private:
46 QString error;
47 bool isExec;
48
49 protected:
50 ConfigOperation* const q_ptr;
51 159 Q_DECLARE_PUBLIC(ConfigOperation)
52 };
53
54 }
55