2016-09-27 22:01:08 +03:00
|
|
|
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
2014-02-25 02:21:12 +04:00
|
|
|
#ifndef cmWIXDirectoriesSourceWriter_h
|
|
|
|
#define cmWIXDirectoriesSourceWriter_h
|
|
|
|
|
|
|
|
#include "cmWIXSourceWriter.h"
|
|
|
|
|
|
|
|
#include <CPack/cmCPackGenerator.h>
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
/** \class cmWIXDirectoriesSourceWriter
|
|
|
|
* \brief Helper class to generate directories.wxs
|
|
|
|
*/
|
|
|
|
class cmWIXDirectoriesSourceWriter : public cmWIXSourceWriter
|
|
|
|
{
|
|
|
|
public:
|
2016-09-06 13:11:00 +03:00
|
|
|
cmWIXDirectoriesSourceWriter(cmCPackLog* logger, std::string const& filename,
|
|
|
|
GuidType componentGuidType);
|
2014-02-25 02:21:12 +04:00
|
|
|
|
|
|
|
void EmitStartMenuFolder(std::string const& startMenuFolder);
|
|
|
|
|
|
|
|
void EmitDesktopFolder();
|
|
|
|
|
2015-02-21 20:07:36 +03:00
|
|
|
void EmitStartupFolder();
|
|
|
|
|
2014-02-25 02:21:12 +04:00
|
|
|
size_t BeginInstallationPrefixDirectory(
|
2016-05-16 17:34:04 +03:00
|
|
|
std::string const& programFilesFolderId,
|
|
|
|
std::string const& installRootString);
|
2014-02-25 02:21:12 +04:00
|
|
|
|
|
|
|
void EndInstallationPrefixDirectory(size_t size);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|