Kstars

fileutilitycameradata.h
1/*
2 SPDX-FileCopyrightText: 2023 Joseph McGee <joseph.mcgee@sbcglobal.net>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#ifndef FILEUTILITYCAMERADATA_H
10#define FILEUTILITYCAMERADATA_H
11
12#include <QAbstractItemModel>
13#include <QtNetwork/QNetworkAccessManager>
14#include <QtNetwork/QNetworkRequest>
15#include <QtNetwork/QNetworkReply>
16#include <QUrl>
17#include <QTimer>
18#include "imagingcameradata.h"
19#include "cameragainreadnoise.h"
20#include "fileutilitycameradatadialog.h"
21#include <kspaths.h>
22
23QT_BEGIN_NAMESPACE
24namespace OptimalExposure
25{
26class FileUtilityCameraData
27{
28
29 public:
30
31 QStringList static getAvailableCameraFilesList();
32
33 // bool static isExposureCalculatorCameraDataAvailable();
34
35 void static downloadRepositoryCameraDataFileList(QDialog *aDialog);
36 void static downloadCameraDataFile(QString cameraId, QDialog *aDialog);
37 int static readCameraDataFile(QString cameraId, ImagingCameraData *anImagingCameraData);
38 int static writeCameraDataFile(ImagingCameraData *anImagingCameraData);
39 void static buildCameraDataFile();
40 void static initializeCameraDataPaths();
41
42 QString static cameraIdToCameraDataFileName(QString cameraId);
43 QString static cameraDataFileNameToCameraId(QString cameraDataFileName);
44
45 QString static const cameraApplicationDataRepository;
46 QString static const cameraLocalDataRepository;
47
48 QString static const cameraDataRemoteRepositoryList;
49 QString static const cameraDataRemoteRepository;
50};
51}
52
53QT_END_NAMESPACE
54#endif // FILEUTILITYCAMERADATA_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:47:11 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.