File indexing completed on 2024-05-12 04:37:31
0001 /* 0002 SPDX-FileCopyrightText: 2020 Friedrich W. H. Kossebau <kossebau@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef KDEVELOPSESSIONSWATCH_H 0008 #define KDEVELOPSESSIONSWATCH_H 0009 0010 // library 0011 #include <kdevelopsessionswatch_export.h> 0012 0013 class QString; 0014 class QObject; 0015 0016 namespace KDevelopSessionsWatch { 0017 0018 // not exactly matching the scope of the watch, but let's put this util method here for now 0019 KDEVELOPSESSIONSWATCH_EXPORT 0020 void openSession(const QString& sessionId); 0021 0022 KDEVELOPSESSIONSWATCH_EXPORT 0023 void registerObserver(QObject* observer); 0024 0025 KDEVELOPSESSIONSWATCH_EXPORT 0026 void unregisterObserver(QObject* observer); 0027 0028 } 0029 0030 #endif