File indexing completed on 2024-05-12 04:38:05

0001 /*
0002     SPDX-FileCopyrightText: 2008 David Nolden <david.nolden.kdevelop@art-master.de>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-only
0005 */
0006 
0007 #ifndef KDEVPLATFORM_WAITFORUPDATE_H
0008 #define KDEVPLATFORM_WAITFORUPDATE_H
0009 
0010 #include "duchain/topducontext.h"
0011 
0012 #include <serialization/indexedstring.h>
0013 
0014 #include <QObject>
0015 
0016 namespace KDevelop {
0017 struct WaitForUpdate
0018     : public QObject
0019 {
0020     Q_OBJECT
0021 
0022 public:
0023     WaitForUpdate();
0024 
0025 public Q_SLOTS:
0026     void updateReady(const KDevelop::IndexedString& url,
0027                      const KDevelop::ReferencedTopDUContext& topContext);
0028 
0029 public:
0030     bool m_ready;
0031     ReferencedTopDUContext m_topContext;
0032 };
0033 }
0034 
0035 #endif // KDEVPLATFORM_WAITFORUPDATE_H