forked from qt-creator/qt-creator
Allow to link current project to a dashboard project. Change-Id: If73caab0e26b4b5151dbab1a6c9db72857fddacc Reviewed-by: David Schulz <david.schulz@qt.io>
37 lines
524 B
C++
37 lines
524 B
C++
// Copyright (C) 2022 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial
|
|
|
|
#pragma once
|
|
|
|
#include <QList>
|
|
|
|
namespace Axivion::Internal {
|
|
|
|
class BaseResult
|
|
{
|
|
public:
|
|
QString error;
|
|
};
|
|
|
|
class Project : public BaseResult
|
|
{
|
|
public:
|
|
QString name;
|
|
QString url;
|
|
};
|
|
|
|
class DashboardInfo : public BaseResult
|
|
{
|
|
public:
|
|
QString mainUrl;
|
|
QList<Project> projects;
|
|
};
|
|
|
|
namespace ResultParser {
|
|
|
|
DashboardInfo parseDashboardInfo(const QByteArray &input);
|
|
|
|
} // ResultParser
|
|
|
|
} // Axivion::Internal
|