1 // UserRegistrar.h: Schnittstelle f�r die Klasse UserRegistrar. 2 // 3 ////////////////////////////////////////////////////////////////////// 4 5 #ifndef _USERREGISTRAR_HXX_ 6 #define _USERREGISTRAR_HXX_ 7 8 #include "registrar.hxx" 9 10 class UserRegistrar : public Registrar 11 { 12 public: 13 14 //################################### 15 // Creation 16 //################################### 17 18 UserRegistrar(const RegistrationContextInformation& RegContext); 19 20 //################################### 21 // Command 22 //################################### 23 24 virtual void UnregisterAsHtmlEditorForInternetExplorer() const; 25 26 virtual void RegisterAsDefaultShellHtmlEditor() const; 27 virtual void UnregisterAsDefaultShellHtmlEditor() const; 28 29 protected: 30 virtual void UnregisterForMsOfficeApplication( 31 const std::wstring& FileExtension) const; 32 33 virtual RegistryKey GetRootKeyForDefHtmlEditorForIERegistration() const; 34 35 private: 36 37 /** Delete the privately created file associations 38 for htm files if the keys are empty 39 */ 40 void DeleteHtmFileAssociationKeys() const; 41 }; 42 43 #endif 44