Update ooo320-m1
[ooovba.git] / setup_native / source / win32 / customactions / reg4msdoc / userregistrar.hxx
blobcce0209567dd6391ae2d55df853d3a8c0453755b
1 // UserRegistrar.h: Schnittstelle für die Klasse UserRegistrar.
2 //
3 //////////////////////////////////////////////////////////////////////
5 #ifndef _USERREGISTRAR_HXX_
6 #define _USERREGISTRAR_HXX_
8 #include "registrar.hxx"
10 class UserRegistrar : public Registrar
12 public:
14 //###################################
15 // Creation
16 //###################################
18 UserRegistrar(const RegistrationContextInformation& RegContext);
20 //###################################
21 // Command
22 //###################################
24 virtual void UnregisterAsHtmlEditorForInternetExplorer() const;
26 virtual void RegisterAsDefaultShellHtmlEditor() const;
27 virtual void UnregisterAsDefaultShellHtmlEditor() const;
29 protected:
30 virtual void UnregisterForMsOfficeApplication(
31 const std::wstring& FileExtension) const;
33 virtual RegistryKey GetRootKeyForDefHtmlEditorForIERegistration() const;
35 private:
37 /** Delete the privately created file associations
38 for htm files if the keys are empty
40 void DeleteHtmFileAssociationKeys() const;
43 #endif