summaryrefslogtreecommitdiff
path: root/ucbhelper/inc/ucbhelper
diff options
context:
space:
mode:
authorKai Sommerfeld <kso@openoffice.org>2000-11-06 13:03:48 +0000
committerKai Sommerfeld <kso@openoffice.org>2000-11-06 13:03:48 +0000
commitd92a151a6603f8209f1d896ff1573fe63f093886 (patch)
tree81457542762132020f40ba4eeb18694c488cadf4 /ucbhelper/inc/ucbhelper
parent1a7ea1ed494a58a6394ca04288baf4e33a6f88a7 (diff)
Added: ctor with XCommandEnvironment, method getEnvironment().
Diffstat (limited to 'ucbhelper/inc/ucbhelper')
-rw-r--r--ucbhelper/inc/ucbhelper/resultset.hxx41
1 files changed, 34 insertions, 7 deletions
diff --git a/ucbhelper/inc/ucbhelper/resultset.hxx b/ucbhelper/inc/ucbhelper/resultset.hxx
index e7c4bb4e2ee0..2a767c4e5438 100644
--- a/ucbhelper/inc/ucbhelper/resultset.hxx
+++ b/ucbhelper/inc/ucbhelper/resultset.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: resultset.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: kso $ $Date: 2000-10-31 09:50:50 $
+ * last change: $Author: kso $ $Date: 2000-11-06 14:03:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -54,7 +54,7 @@
*
* All Rights Reserved.
*
- * Contributor(s): _______________________________________
+ * Contributor(s): Kai Sommerfeld ( kso@sun.com )
*
*
************************************************************************/
@@ -74,6 +74,9 @@
#ifndef _COM_SUN_STAR_UCB_RESULTSETEXCEPTION_HPP_
#include <com/sun/star/ucb/ResultSetException.hpp>
#endif
+#ifndef _COM_SUN_STAR_UCB_XCOMMANDENVIRONMENT_HPP_
+#include <com/sun/star/ucb/XCommandEnvironment.hpp>
+#endif
#ifndef _COM_SUN_STAR_UCB_XCONTENTACCESS_HPP_
#include <com/sun/star/ucb/XContentAccess.hpp>
#endif
@@ -154,6 +157,24 @@ public:
const com::sun::star::uno::Sequence<
com::sun::star::beans::Property >& rProperties,
const vos::ORef< ResultSetDataSupplier >& rDataSupplier );
+ /**
+ * Construction.
+ *
+ * @param rxSMgr is a Service Manager.
+ * @param rProperties is a sequence of properties for that the resultset
+ * shall be able to obtain the values.
+ * @param rDataSupplier is a supplier for the resultset data.
+ * @param rxEnv is the environment for interactions, progress propagation,
+ * ...
+ */
+ ResultSet(
+ const com::sun::star::uno::Reference<
+ com::sun::star::lang::XMultiServiceFactory >& rxSMgr,
+ const com::sun::star::uno::Sequence<
+ com::sun::star::beans::Property >& rProperties,
+ const vos::ORef< ResultSetDataSupplier >& rDataSupplier,
+ const com::sun::star::uno::Reference<
+ com::sun::star::ucb::XCommandEnvironment >& rxEnv );
virtual ~ResultSet();
// XInterface
@@ -180,11 +201,7 @@ public:
// XContentAccess
virtual rtl::OUString SAL_CALL
-#if SUPD>611
queryContentIdentifierString()
-#else
- queryContentIdentfierString()
-#endif
throw( com::sun::star::uno::RuntimeException );
virtual com::sun::star::uno::Reference<
com::sun::star::ucb::XContentIdentifier > SAL_CALL
@@ -456,6 +473,16 @@ public:
*/
const com::sun::star::uno::Sequence< com::sun::star::beans::Property >&
getProperties();
+
+ /**
+ * This method returns the environment to use for interactions, progress
+ * propagation, ... It can by empty.
+ *
+ * @return an environment or an empty reference.
+ */
+ const com::sun::star::uno::Reference<
+ com::sun::star::ucb::XCommandEnvironment >&
+ getEnvironment();
};
//=========================================================================