summaryrefslogtreecommitdiffstats
path: root/qt-ui/configuredivecomputer.h
diff options
context:
space:
mode:
authorGravatar Joseph W. Joshua <joejoshw@gmail.com>2014-06-10 19:19:28 +0300
committerGravatar Thiago Macieira <thiago@macieira.org>2014-08-13 10:48:14 -0700
commite54d7d9178fc159f068587a59244340bec068efb (patch)
treefe0398971e8b7686b0762f1a58cc63361bc81b40 /qt-ui/configuredivecomputer.h
parent3534e29ae2165aab491c2e0cdecd667dd8cf50e8 (diff)
downloadsubsurface-e54d7d9178fc159f068587a59244340bec068efb.tar.gz
Backup basic settings as XML
This patch enables XML backup. We can now save the settings to an XML file. Currently this backs up just the basic stuff such as custom text, language and brightness. Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com> Signed-off-by: Thiago Macieira <thiago@macieira.org>
Diffstat (limited to 'qt-ui/configuredivecomputer.h')
-rw-r--r--qt-ui/configuredivecomputer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/configuredivecomputer.h b/qt-ui/configuredivecomputer.h
index f21f02910..ca072e148 100644
--- a/qt-ui/configuredivecomputer.h
+++ b/qt-ui/configuredivecomputer.h
@@ -30,7 +30,7 @@ public:
device_data_t *m_data;
void saveDeviceDetails(DeviceDetails *details, device_data_t *data);
void fetchDeviceDetails();
-
+ bool saveXMLBackup(QString fileName, DeviceDetails *details, device_data_t *data, QString errorText);
signals:
void message(QString msg);
void error(QString err);