20#ifndef LIBREPCB_CORE_APIENDPOINT_H
21#define LIBREPCB_CORE_APIENDPOINT_H
65 const QVector<
Part>& parts) const noexcept;
Access to a LibrePCB API endpoint.
Definition apiendpoint.h:42
QUrl mUrl
Definition apiendpoint.h:85
void requestLibraryList() const noexcept
Definition apiendpoint.cpp:51
ApiEndpoint(const ApiEndpoint &other)=delete
void errorWhileFetchingPartsInformationStatus(const QString &errorMsg)
void partsInformationResponseReceived(const QByteArray &data) noexcept
Definition apiendpoint.cpp:155
void errorWhileFetchingPartsInformation(const QString &errorMsg)
void libraryListResponseReceived(const QByteArray &data) noexcept
Definition apiendpoint.cpp:115
void partsInformationStatusResponseReceived(const QByteArray &data) noexcept
Definition apiendpoint.cpp:144
void libraryListReceived(const QJsonArray &libs)
~ApiEndpoint() noexcept
Definition apiendpoint.cpp:44
void requestPartsInformationStatus() const noexcept
Definition apiendpoint.cpp:57
void requestPartsInformation(const QUrl &url, const QVector< Part > &parts) const noexcept
Definition apiendpoint.cpp:71
const QUrl & getUrl() const noexcept
Definition apiendpoint.h:59
void partsInformationReceived(const QJsonObject &info)
void errorWhileFetchingLibraryList(const QString &errorMsg)
void partsInformationStatusReceived(const QJsonObject &status)
The Part class.
Definition part.h:46
Definition occmodel.cpp:76
Definition apiendpoint.h:47
QString mpn
Definition apiendpoint.h:48
QString manufacturer
Definition apiendpoint.h:49