Kaydet (Commit) e945db86 authored tarafından Kurt Zenker's avatar Kurt Zenker

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
üst e2722b23
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite * OpenOffice.org - a multi-platform office productivity suite
* *
* $RCSfile: dp_gui.h,v $ * $RCSfile: dp_gui.h,v $
* $Revision: 1.23 $ * $Revision: 1.24 $
* *
* This file is part of OpenOffice.org. * This file is part of OpenOffice.org.
* *
...@@ -293,7 +293,6 @@ struct DialogImpl : ...@@ -293,7 +293,6 @@ struct DialogImpl :
::com::sun::star::deployment::XPackageManager> const & xPMgr); ::com::sun::star::deployment::XPackageManager> const & xPMgr);
UpdateDialog* m_pUpdateDialog;
/** The extensions which are passed when the Extension Manager dialog is created. /** 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 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. "system integration operation", such as double clicking on a oxt file.
...@@ -399,6 +398,7 @@ struct DialogImpl : ...@@ -399,6 +398,7 @@ struct DialogImpl :
::com::sun::star::lang::EventObject const & evt ) throw (::com::sun::star::uno::RuntimeException); ::com::sun::star::lang::EventObject const & evt ) throw (::com::sun::star::uno::RuntimeException);
}; };
#if 0
class SelectedPackageIterator: public salhelper::SimpleReferenceObject { class SelectedPackageIterator: public salhelper::SimpleReferenceObject {
public: public:
SelectedPackageIterator(DialogImpl::TreeListBoxImpl & list); SelectedPackageIterator(DialogImpl::TreeListBoxImpl & list);
...@@ -418,6 +418,26 @@ private: ...@@ -418,6 +418,26 @@ private:
DialogImpl::TreeListBoxImpl & m_list; DialogImpl::TreeListBoxImpl & m_list;
SvLBoxEntry * m_entry; 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 } // namespace dp_gui
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment