summaryrefslogtreecommitdiff
path: root/dbaccess/inc/genericcontroller.hxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-02-19 13:52:10 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-02-19 13:52:10 +0100
commiteb03a387b1a95b8b4e5eea60c2b7c9c40d71597b (patch)
tree339352b2da9ebbccf19f05664010c954ca218c37 /dbaccess/inc/genericcontroller.hxx
parentade45fff47747bf3774b49d923b37ce9a02a178f (diff)
parentf134b69089fb4f37f987b28e08f1b9aa48311926 (diff)
Automated merge with ssh://hg@hg.services.openoffice.org/cws/dba33e
Diffstat (limited to 'dbaccess/inc/genericcontroller.hxx')
-rw-r--r--dbaccess/inc/genericcontroller.hxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/dbaccess/inc/genericcontroller.hxx b/dbaccess/inc/genericcontroller.hxx
index 8464f491ff66..c35e166d374a 100644
--- a/dbaccess/inc/genericcontroller.hxx
+++ b/dbaccess/inc/genericcontroller.hxx
@@ -222,9 +222,10 @@ namespace dbaui
::std::auto_ptr< OGenericUnoController_Data >
m_pData;
+ ODataView* m_pView; // our (VCL) "main window"
#ifdef DBG_UTIL
- bool m_bDescribingSupportedFeatures;
+ bool m_bDescribingSupportedFeatures;
#endif
protected:
@@ -258,7 +259,6 @@ namespace dbaui
::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > m_xDatabaseContext;
::com::sun::star::uno::Reference< ::com::sun::star::frame::XTitle > m_xTitleHelper;
- ODataView* m_pView; // our (VCL) "main window"
sal_Bool m_bPreview;
sal_Bool m_bReadOnly;
@@ -416,7 +416,9 @@ namespace dbaui
public:
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > getORB() const { return m_xServiceFactory; }
- ODataView* getView() const { return m_pView; }
+ ODataView* getView() const { return m_pView; }
+ void setView( ODataView& i_rView ) { m_pView = &i_rView; }
+ void clearView() { m_pView = NULL; }
// shows a error box if the SQLExceptionInfo is valid
void showError(const ::dbtools::SQLExceptionInfo& _rInfo);
@@ -471,8 +473,9 @@ namespace dbaui
// ::com::sun::star::frame::XController2
virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > SAL_CALL getComponentWindow() throw (::com::sun::star::uno::RuntimeException);
virtual ::rtl::OUString SAL_CALL getViewControllerName() throw (::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL getCreationArguments() throw (::com::sun::star::uno::RuntimeException);
- // ::com::sun::star::frame::XController2
+ // ::com::sun::star::frame::XController
virtual void SAL_CALL attachFrame(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > & xFrame) throw( ::com::sun::star::uno::RuntimeException );
virtual sal_Bool SAL_CALL attachModel(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > & xModel) throw( ::com::sun::star::uno::RuntimeException );
virtual sal_Bool SAL_CALL suspend(sal_Bool bSuspend) throw( ::com::sun::star::uno::RuntimeException ) = 0;