24#include <com/sun/star/uno/Reference.hxx>
34 namespace task {
class XInteractionRequest; }
35 namespace uno {
class XComponentContext; }
41class TheExtensionManager;
65 const css::uno::Reference< css::uno::XComponentContext > & rContext);
70 const OUString &rRepository,
71 const bool bWarnUser );
72 void removeExtension(
const css::uno::Reference< css::deployment::XPackage > &rPackage );
73 void enableExtension(
const css::uno::Reference< css::deployment::XPackage > &rPackage,
75 void checkForUpdates( std::vector< css::uno::Reference< css::deployment::XPackage > > && vList );
76 void acceptLicense(
const css::uno::Reference< css::deployment::XPackage > &rPackage );
90 const css::uno::Reference< css::task::XInteractionRequest > & xRequest );
Manages installing of extensions in the GUI mode.
static void syncRepositories(const css::uno::Reference< css::uno::XComponentContext > &xContext)
void enableExtension(const css::uno::Reference< css::deployment::XPackage > &rPackage, const bool bEnable)
void acceptLicense(const css::uno::Reference< css::deployment::XPackage > &rPackage)
void addExtension(const OUString &rExtensionURL, const OUString &rRepository, const bool bWarnUser)
ExtensionCmdQueue & operator=(ExtensionCmdQueue const &)=delete
void checkForUpdates(std::vector< css::uno::Reference< css::deployment::XPackage > > &&vList)
ExtensionCmdQueue(DialogHelper *pDialogHelper, TheExtensionManager *pManager, const css::uno::Reference< css::uno::XComponentContext > &rContext)
Create an instance.
rtl::Reference< Thread > m_thread
ExtensionCmdQueue(ExtensionCmdQueue const &)=delete
void removeExtension(const css::uno::Reference< css::deployment::XPackage > &rPackage)
static uno::Reference< css::uno::XComponentContext > xContext
void handleInteractionRequest(const uno::Reference< uno::XComponentContext > &xContext, const uno::Reference< task::XInteractionRequest > &xRequest)