swift
Loading...
Searching...
No Matches
githubpackagesreader.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (C) 2020 swift Project Community / Contributors
2// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3
5
6#ifndef SWIFT_CORE_GITHUBPACKAGESREADER_H
7#define SWIFT_CORE_GITHUBPACKAGESREADER_H
8
9#include <QObject>
10
11#include "misc/db/updateinfo.h"
12
13namespace swift::core
14{
19 {
21
22 public:
25
27 void readUpdateInfo();
28
31
32 signals:
34 void updateInfoAvailable(bool available);
35
36 private:
38 };
39} // namespace swift::core
40
41#endif // SWIFT_CORE_GITHUBPACKAGESREADER_H
void readUpdateInfo()
Read updates from GitHub Packages.
swift::misc::db::CUpdateInfo getUpdateInfo() const
Get updates cached from previous read.
CGitHubPackagesReader(QObject *parent=nullptr)
Constructor.
void updateInfoAvailable(bool available)
Updates have been received from GitHub Packages.
Class template for accessing a specific value in the CDataCache.
Definition datacache.h:315
Update info, i.e. artifacts and distributions.
Definition updateinfo.h:24
Backend services of the swift project, like dealing with the network or the simulators.
Definition actionbind.cpp:7
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
QObject * parent() const const