summaryrefslogtreecommitdiff
path: root/forms/source
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2000-11-06 10:22:50 +0000
committerFrank Schönheit <fs@openoffice.org>2000-11-06 10:22:50 +0000
commitfbc45c6817f569ec5013dac5ea0f912468e41ed9 (patch)
tree0d4b927eaa2b5ee7c01b6c9403dad7472ab8d49e /forms/source
parent85291ee8db7f95b18577dab910cb8be5efa80af8 (diff)
do not include DatabaseCursorType anymore - module data is deprecated
Diffstat (limited to 'forms/source')
-rw-r--r--forms/source/component/DatabaseForm.cxx26
1 files changed, 21 insertions, 5 deletions
diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx
index d6bdc0eaee56..a6448b99677c 100644
--- a/forms/source/component/DatabaseForm.cxx
+++ b/forms/source/component/DatabaseForm.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: DatabaseForm.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: fs $ $Date: 2000-10-31 16:03:14 $
+ * last change: $Author: fs $ $Date: 2000-11-06 11:22:50 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -84,9 +84,6 @@
#ifndef _COM_SUN_STAR_UTIL_XCANCELLABLE_HPP_
#include <com/sun/star/util/XCancellable.hpp>
#endif
-#ifndef _COM_SUN_STAR_DATA_DATABASECURSORTYPE_HPP_
-#include <com/sun/star/data/DatabaseCursorType.hpp>
-#endif
#ifndef _COM_SUN_STAR_SDBC_RESULTSETTYPE_HPP_
#include <com/sun/star/sdbc/ResultSetType.hpp>
#endif
@@ -233,6 +230,25 @@
#ifndef _RTL_TENCINFO_H
#include <rtl/tencinfo.h>
#endif
+
+// compatiblity: DatabaseCursorType is dead, but for compatiblity reasons we still have to write it ...
+namespace com {
+namespace sun {
+namespace star {
+namespace data {
+
+enum DatabaseCursorType
+{
+ DatabaseCursorType_FORWARD = 0,
+ DatabaseCursorType_SNAPSHOT = 1,
+ DatabaseCursorType_KEYSET = 2,
+ DatabaseCursorType_DYNAMIC = 3,
+ DatabaseCursorType_MAKE_FIXED_SIZE = SAL_MAX_ENUM
+};
+
+} } } }
+
+
#ifndef _COMPHELPER_INTERACTION_HXX_
#include <comphelper/interaction.hxx>
#endif