aboutsummaryrefslogtreecommitdiffstats
path: root/core/divelogexportlogic.h
blob: 4279495a035f454262c5bba8b623b0c47a54ad30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// SPDX-License-Identifier: GPL-2.0
#ifndef DIVELOGEXPORTLOGIC_H
#define DIVELOGEXPORTLOGIC_H

struct htmlExportSetting {
	bool exportPhotos;
	bool selectedOnly;
	bool listOnly;
	QString fontFamily;
	QString fontSize;
	int themeSelection;
	bool subsurfaceNumbers;
	bool yearlyStatistics;
	QString themeFile;
};

void file_copy_and_overwrite(const QString &fileName, const QString &newName);
void exportHtmlInitLogic(const QString &filename, struct htmlExportSetting &hes);

#endif // DIVELOGEXPORTLOGIC_H