summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/firebird/Connection.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/firebird/Connection.hxx')
-rw-r--r--connectivity/source/drivers/firebird/Connection.hxx18
1 files changed, 12 insertions, 6 deletions
diff --git a/connectivity/source/drivers/firebird/Connection.hxx b/connectivity/source/drivers/firebird/Connection.hxx
index 6c8dba4db75b..40ebee7920c2 100644
--- a/connectivity/source/drivers/firebird/Connection.hxx
+++ b/connectivity/source/drivers/firebird/Connection.hxx
@@ -45,6 +45,7 @@
#include <com/sun/star/sdbc/XConnection.hpp>
#include <com/sun/star/sdbc/XWarningsSupplier.hpp>
#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
+#include <com/sun/star/util/XModifiable.hpp>
namespace connectivity
{
@@ -96,6 +97,17 @@ namespace connectivity
/* EMBEDDED MODE DATA */
/** Denotes that we have a .fdb stored within a .odb file. */
sal_Bool m_bIsEmbedded;
+
+ /**
+ * Handle for the parent DatabaseDocument. We need to notify this
+ * whenever any data is written to our temporary database so that
+ * the user is able to save this back to the .odb file.
+ *
+ * Note that this is ONLY set in embedded mode.
+ */
+ ::com::sun::star::uno::Reference< ::com::sun::star::util::XModifiable >
+ m_xParentDocument;
+
/**
* Handle for the folder within the .odb where we store our .fdb
* (Only used if m_bIsEmbedded is true).
@@ -131,12 +143,6 @@ namespace connectivity
OWeakRefArray m_aStatements;
/**
- * If we are embedded in a .odb we need to listen to Document events
- * in order to save the .fdb back into the .odb.
- */
- void attachAsDocumentListener(const ::rtl::OUString& rStorageURL);
-
- /**
* Firebird stores binary collations for indexes on Character based
* columns, these can be binary-incompatible between different icu
* version, hence we need to rebuild the indexes when switching icu