class WorkerThread : public osl::Thread
{ public: virtualvoid cancel() = 0;
};
class UpdateCheck : public UpdateCheckConfigListener, public IActionListener, public DownloadInteractionHandler, public rtl::StaticWithInit< rtl::Reference< UpdateCheck >, UpdateCheckInitData >
{
UpdateCheck();
// Update internal update info member void setUpdateInfo(const UpdateInfo& aInfo);
/* This method turns on the menubar icon, triggers the bubble window or *updatesthedialogtextwhenappropriate
*/ void setUIState(UpdateState eState, bool suppressBubble = false);
// Returns the UI state that matches rInfo best static UpdateState getUIState(const UpdateInfo& rInfo);
// Check for updates failed void setCheckFailedState();
// Executes the update check dialog for manual checks and downloads interaction void showDialog(bool forceCheck = false);
// Returns true if the update dialog is currently showing bool isDialogShowing() const; bool shouldShowExtUpdDlg() const { return ( m_bShowExtUpdDlg && m_bHasExtensionUpdate ); } void showExtensionDialog(); void setHasExtensionUpdates( bool bHasUpdates ) { m_bHasExtensionUpdate = bHasUpdates; } bool hasOfficeUpdate() const;
// DownloadInteractionHandler virtualbool downloadTargetExists(const OUString& rFileName) override; virtualvoid downloadStalled(const OUString& rErrorMessage) override; virtualvoid downloadProgressAt(sal_Int8 nProcent) override; virtualvoid downloadStarted(const OUString& rLocalFileName, sal_Int64 nFileSize) override; virtualvoid downloadFinished(const OUString& rLocalFileName) override; // checks if the download target already exists and asks user what to do next virtualbool checkDownloadDestination( const OUString& rFile ) override;
// Cancels the download action (and resumes checking if enabled) void cancelDownload();
// Returns the XInteractionHandler of the UpdateHandler instance if present (and visible)
css::uno::Reference< css::task::XInteractionHandler > getInteractionHandler() const;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.