diff options
author | Tino Rachui <tra@openoffice.org> | 2004-05-26 16:06:21 +0000 |
---|---|---|
committer | Tino Rachui <tra@openoffice.org> | 2004-05-26 16:06:21 +0000 |
commit | c81c178f9c9a827749c97a979eff38576477a831 (patch) | |
tree | 9c20d0d97f718d85aab915c133793ee45b7bfa77 /setup_native/source/win32/customactions/reg4msdoc/userregistrar.hxx | |
parent | d5941aca9f3681efc403e87fcf3678d200fa7cc8 (diff) |
#i28276#
Diffstat (limited to 'setup_native/source/win32/customactions/reg4msdoc/userregistrar.hxx')
-rw-r--r-- | setup_native/source/win32/customactions/reg4msdoc/userregistrar.hxx | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/setup_native/source/win32/customactions/reg4msdoc/userregistrar.hxx b/setup_native/source/win32/customactions/reg4msdoc/userregistrar.hxx new file mode 100644 index 000000000..004ef82dc --- /dev/null +++ b/setup_native/source/win32/customactions/reg4msdoc/userregistrar.hxx @@ -0,0 +1,45 @@ +// UserRegistrar.h: Schnittstelle für die Klasse UserRegistrar. +// +////////////////////////////////////////////////////////////////////// + +#ifndef _USERREGISTRAR_HXX_ +#define _USERREGISTRAR_HXX_ + +#ifndef _REGISTRAR_HXX_ +#include "registrar.hxx" +#endif + +class UserRegistrar : public Registrar +{ +public: + + //################################### + // Creation + //################################### + + UserRegistrar(const RegistrationContextInformation& RegContext); + + //################################### + // Command + //################################### + + virtual void UnregisterAsHtmlEditorForInternetExplorer() const; + + virtual void RegisterAsDefaultShellHtmlEditor() const; + virtual void UnregisterAsDefaultShellHtmlEditor() const; + +protected: + virtual void UnregisterForMsOfficeApplication( + const std::wstring& FileExtension) const; + + virtual RegistryKey GetRootKeyForDefHtmlEditorForIERegistration() const; + +private: + + /** Delete the privately created file associations + for htm files if the keys are empty + */ + void DeleteHtmFileAssociationKeys() const; +}; + +#endif |