Changeset View
Changeset View
Standalone View
Standalone View
src/SpectacleDBusAdapter.h
1 | /* | 1 | /* This file is part of Spectacle, the KDE screenshot utility | ||
---|---|---|---|---|---|
2 | * Copyright (C) 2015 Boudhayan Gupta <bgupta@kde.org> | 2 | * Copyright (C) 2015 Boudhayan Gupta <bgupta@kde.org> | ||
3 | * | 3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | 4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU Lesser General Public License as published by | 5 | * it under the terms of the GNU Lesser General Public License as published by | ||
6 | * the Free Software Foundation; either version 2 of the License, or | 6 | * the Free Software Foundation; either version 2 of the License, or | ||
7 | * (at your option) any later version. | 7 | * (at your option) any later version. | ||
8 | * | 8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | 9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | 12 | * GNU General Public License for more details. | ||
13 | * | 13 | * | ||
14 | * You should have received a copy of the GNU Lesser General Public License | 14 | * You should have received a copy of the GNU Lesser General Public License | ||
15 | * along with this program; if not, write to the Free Software | 15 | * along with this program; if not, write to the Free Software | ||
16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, | 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
17 | * Boston, MA 02110-1301, USA. | 17 | * Boston, MA 02110-1301, USA. | ||
18 | * | ||||
19 | * SPDX-License-Identifier: LGPL-2.0-or-later | ||||
18 | */ | 20 | */ | ||
19 | 21 | | |||
20 | #ifndef SPECTACLEDBUSADAPTER_H | 22 | #pragma once | ||
21 | #define SPECTACLEDBUSADAPTER_H | | |||
22 | 23 | | |||
23 | #include <QDBusAbstractAdaptor> | 24 | #include <QDBusAbstractAdaptor> | ||
24 | #include "SpectacleCore.h" | 25 | #include "SpectacleCore.h" | ||
Context not available. | |||||
60 | public: | 61 | public: | ||
61 | 62 | | |||
62 | SpectacleDBusAdapter(SpectacleCore *parent); | 63 | SpectacleDBusAdapter(SpectacleCore *parent); | ||
63 | virtual ~SpectacleDBusAdapter(); | 64 | virtual ~SpectacleDBusAdapter() = default; | ||
64 | 65 | | |||
65 | inline SpectacleCore *parent() const; | 66 | inline SpectacleCore *parent() const; | ||
66 | 67 | | |||
Context not available. | |||||
78 | void ScreenshotTaken(const QString &fileName); | 79 | void ScreenshotTaken(const QString &fileName); | ||
79 | void ScreenshotFailed(); | 80 | void ScreenshotFailed(); | ||
80 | }; | 81 | }; | ||
81 | | ||||
82 | #endif // SPECTACLEDBUSADAPTER_H | | |||
Context not available. |