summaryrefslogtreecommitdiffstats
path: root/Source/CPack/WiX/cmWIXFilesSourceWriter.h
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2015-02-21 11:38:14 (GMT)
committerNils Gladitz <nilsgladitz@gmail.com>2015-02-21 11:38:14 (GMT)
commit53d7dafface62d40ea795456394f7ab1d5ee6712 (patch)
tree6c8e3c7038b1831b857b481c16071d493775e123 /Source/CPack/WiX/cmWIXFilesSourceWriter.h
parentdc0f3fb44fb9384438ece513c12d83a36e385802 (diff)
downloadCMake-53d7dafface62d40ea795456394f7ab1d5ee6712.zip
CMake-53d7dafface62d40ea795456394f7ab1d5ee6712.tar.gz
CMake-53d7dafface62d40ea795456394f7ab1d5ee6712.tar.bz2
CPackWIX: Refactor start menu and desktop shortcut creation.
Diffstat (limited to 'Source/CPack/WiX/cmWIXFilesSourceWriter.h')
-rw-r--r--Source/CPack/WiX/cmWIXFilesSourceWriter.h19
1 files changed, 5 insertions, 14 deletions
diff --git a/Source/CPack/WiX/cmWIXFilesSourceWriter.h b/Source/CPack/WiX/cmWIXFilesSourceWriter.h
index b0a4af8..67808fb 100644
--- a/Source/CPack/WiX/cmWIXFilesSourceWriter.h
+++ b/Source/CPack/WiX/cmWIXFilesSourceWriter.h
@@ -1,6 +1,6 @@
/*============================================================================
CMake - Cross Platform Makefile Generator
- Copyright 2014 Kitware, Inc.
+ Copyright 2014-2015 Kitware, Inc.
Distributed under the OSI-approved BSD License (the "License");
see accompanying file Copyright.txt for details.
@@ -31,17 +31,14 @@ public:
void EmitShortcut(
std::string const& id,
cmWIXShortcut const& shortcut,
- bool desktop);
+ std::string const& shortcutPrefix);
void EmitRemoveFolder(std::string const& id);
- void EmitStartMenuShortcutRegistryValue(
- std::string const& registryKey,
- std::string const& cpackComponentName);
-
- void EmitDesktopShortcutRegistryValue(
+ void EmitInstallRegistryValue(
std::string const& registryKey,
- std::string const& cpackComponentName);
+ std::string const& cpackComponentName,
+ std::string const& suffix);
void EmitUninstallShortcut(std::string const& packageName);
@@ -56,12 +53,6 @@ public:
std::string const& filePath,
cmWIXPatch &patch,
cmInstalledFile const* installedFile);
-
-private:
- void EmitInstallRegistryValue(
- std::string const& registryKey,
- std::string const& cpackComponentName,
- std::string const& suffix);
};