summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/browser/dbtreemodel.hxx
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2001-04-26 10:36:16 +0000
committerFrank Schönheit <fs@openoffice.org>2001-04-26 10:36:16 +0000
commita699cc1cfe82423ac86b8cae77bebed6275c86e1 (patch)
tree57e1242e49e8b85faff5ee00e758bbd198dbe3a7 /dbaccess/source/ui/browser/dbtreemodel.hxx
parentdef84ad26a05ab080c3f7586b0733bcdf7381d57 (diff)
added support for data source associated bookmarks
Diffstat (limited to 'dbaccess/source/ui/browser/dbtreemodel.hxx')
-rw-r--r--dbaccess/source/ui/browser/dbtreemodel.hxx20
1 files changed, 14 insertions, 6 deletions
diff --git a/dbaccess/source/ui/browser/dbtreemodel.hxx b/dbaccess/source/ui/browser/dbtreemodel.hxx
index b7d51103754d..c8d8a3a29259 100644
--- a/dbaccess/source/ui/browser/dbtreemodel.hxx
+++ b/dbaccess/source/ui/browser/dbtreemodel.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dbtreemodel.hxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: fs $ $Date: 2001-01-30 08:37:34 $
+ * last change: $Author: fs $ $Date: 2001-04-26 11:36:16 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -81,6 +81,8 @@
// query holds the query
// tables holds the nameaccess for the tables
// table holds the table
+// bookmarks holds the nameaccess for the document links
+// table holds the document links
namespace com { namespace sun { namespace star { namespace lang { class XMultiServiceFactory; } } } }
@@ -93,16 +95,22 @@ namespace dbaui
class DBTreeListModel : public SvLBoxTreeList
{
public:
+ enum EntryType
+ {
+ etQuery,
+ etTable,
+ etBookmark
+ };
struct DBTreeListUserData
{
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
xObject;
- sal_Bool bTable;
+ EntryType eType;
+
+ DBTreeListUserData();
};
- DBTreeListModel()
- {
- }
+ static sal_uInt16 getImageResId(EntryType _eType);
};
}