subsurface/divelogexportlogic.h
Dirk Hohndel 6a0e1cd9f6 HTML export: separate UI and logic code
In order to be able to initiate an HTML export from the core library we
need to separate the actual logic from the UI.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-06-16 14:04:41 -07:00

20 lines
470 B
C

#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