registrar.cxx (ff3f4ebc) | registrar.cxx (599cc5b4) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 63 unchanged lines hidden (view full) --- 72 const std::wstring SHELL_EDIT_COMMAND_BACKUP = L"Shell Edit Cmd"; 73 const std::wstring DEFAULT_HTML_EDITOR = L"Default HTML Editor"; 74 const std::wstring MS_IE_DEF_HTML_EDITOR = L"Software\\Microsoft\\Internet Explorer\\Default HTML Editor"; 75 const std::wstring MS_IE_DEF_HTML_EDITOR_SHL_EDIT_CMD = L"Software\\Microsoft\\Internet Explorer\\Default HTML Editor\\shell\\edit\\command"; 76} 77 78Registrar::Registrar(const RegistrationContextInformation& RegContext) : 79 m_ContextInformation(RegContext), | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 63 unchanged lines hidden (view full) --- 72 const std::wstring SHELL_EDIT_COMMAND_BACKUP = L"Shell Edit Cmd"; 73 const std::wstring DEFAULT_HTML_EDITOR = L"Default HTML Editor"; 74 const std::wstring MS_IE_DEF_HTML_EDITOR = L"Software\\Microsoft\\Internet Explorer\\Default HTML Editor"; 75 const std::wstring MS_IE_DEF_HTML_EDITOR_SHL_EDIT_CMD = L"Software\\Microsoft\\Internet Explorer\\Default HTML Editor\\shell\\edit\\command"; 76} 77 78Registrar::Registrar(const RegistrationContextInformation& RegContext) : 79 m_ContextInformation(RegContext), |
80 FORWARD_KEY_PREFIX(L"Apache OpenOffice"), | 80 FORWARD_KEY_PREFIX(L"OpenOffice"), |
81 DEFAULT_VALUE_NAME(L""), 82 BACKUP_VALUE_NAME(L"Backup"), | 81 DEFAULT_VALUE_NAME(L""), 82 BACKUP_VALUE_NAME(L"Backup"), |
83 PRIVATE_BACKUP_KEY_NAME(L"Apache OpenOffice.reg4msdocmsi"),//PRIVATE_BACKUP_KEY_NAME(L"soffice6.bak"), | 83 PRIVATE_BACKUP_KEY_NAME(L"OpenOffice.reg4msdocmsi"),//PRIVATE_BACKUP_KEY_NAME(L"soffice6.bak"), |
84 REGISTRATION_STATE(L"Reg4MsDocState") 85{ 86 m_RootKey = WindowsRegistry().GetClassesRootKey(); 87} 88 89Registrar::~Registrar() 90{ 91} --- 689 unchanged lines hidden --- | 84 REGISTRATION_STATE(L"Reg4MsDocState") 85{ 86 m_RootKey = WindowsRegistry().GetClassesRootKey(); 87} 88 89Registrar::~Registrar() 90{ 91} --- 689 unchanged lines hidden --- |