summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-05-21 11:20:39 +0000
committerKurt Zenker <kz@openoffice.org>2008-05-21 11:20:39 +0000
commite945db867c83238d00927657902d501012e30380 (patch)
tree690d26728dc524a2fb2219954981537e395ddc8b /desktop
parente2722b232632fbfc580b5296dda2ea3c0489487c (diff)
INTEGRATION: CWS extmgrui01 (1.20.24); FILE MERGED
2008/04/28 10:57:51 dv 1.20.24.4: RESYNC: (1.21-1.22); FILE MERGED 2008/03/25 08:06:05 dv 1.20.24.3: RESYNC: (1.20-1.21); FILE MERGED 2008/02/28 15:16:51 dv 1.20.24.2: #i83902# Added support for updating a single extension via context menu 2008/02/04 07:39:49 dv 1.20.24.1: #i83902# first version of new dialog
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/deployment/gui/dp_gui.h24
1 files changed, 22 insertions, 2 deletions
diff --git a/desktop/source/deployment/gui/dp_gui.h b/desktop/source/deployment/gui/dp_gui.h
index 9e1d2719f2c4..7514bbc37113 100644
--- a/desktop/source/deployment/gui/dp_gui.h
+++ b/desktop/source/deployment/gui/dp_gui.h
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: dp_gui.h,v $
- * $Revision: 1.23 $
+ * $Revision: 1.24 $
*
* This file is part of OpenOffice.org.
*
@@ -293,7 +293,6 @@ struct DialogImpl :
::com::sun::star::deployment::XPackageManager> const & xPMgr);
- UpdateDialog* m_pUpdateDialog;
/** The extensions which are passed when the Extension Manager dialog is created.
This is the case when the Extension Manager is started as a result of a
"system integration operation", such as double clicking on a oxt file.
@@ -399,6 +398,7 @@ struct DialogImpl :
::com::sun::star::lang::EventObject const & evt ) throw (::com::sun::star::uno::RuntimeException);
};
+#if 0
class SelectedPackageIterator: public salhelper::SimpleReferenceObject {
public:
SelectedPackageIterator(DialogImpl::TreeListBoxImpl & list);
@@ -418,6 +418,26 @@ private:
DialogImpl::TreeListBoxImpl & m_list;
SvLBoxEntry * m_entry;
};
+#endif
+
+class SelectedPackage: public salhelper::SimpleReferenceObject {
+public:
+ SelectedPackage( const ::com::sun::star::uno::Reference< ::com::sun::star::deployment::XPackage> &xPackage,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::deployment::XPackageManager> &xPackageManager )
+ : m_xPackage( xPackage ),
+ m_xPackageManager( xPackageManager )
+ {}
+
+ virtual ~SelectedPackage();
+ ::com::sun::star::uno::Reference< ::com::sun::star::deployment::XPackage> getPackage() const { return m_xPackage; }
+ ::com::sun::star::uno::Reference< ::com::sun::star::deployment::XPackageManager> getPackageManager() const { return m_xPackageManager; }
+private:
+ SelectedPackage(SelectedPackage &); // not defined
+ void operator =(SelectedPackage &); // not defined
+
+ ::com::sun::star::uno::Reference< ::com::sun::star::deployment::XPackage> m_xPackage;
+ ::com::sun::star::uno::Reference< ::com::sun::star::deployment::XPackageManager> m_xPackageManager;
+};
} // namespace dp_gui