Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Source / CPack / cmCPackBundleGenerator.h
blobfdc3bfae42c1cb2f2455c9f6f23b0d6f7502f452
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmCPackBundleGenerator.h,v $
5 Language: C++
6 Date: $Date: 2009-01-22 19:23:44 $
7 Version: $Revision: 1.5 $
9 Copyright (c) 2002 Kitware, Inc. All rights reserved.
10 See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
16 =========================================================================*/
18 #ifndef cmCPackBundleGenerator_h
19 #define cmCPackBundleGenerator_h
21 #include "cmCPackDragNDropGenerator.h"
23 /** \class cmCPackBundleGenerator
24 * \brief A generator for OSX bundles
26 * Based on Gimp.app
28 class cmCPackBundleGenerator : public cmCPackDragNDropGenerator
30 public:
31 cmCPackTypeMacro(cmCPackBundleGenerator, cmCPackDragNDropGenerator);
33 cmCPackBundleGenerator();
34 virtual ~cmCPackBundleGenerator();
36 protected:
37 virtual int InitializeInternal();
38 virtual const char* GetPackagingInstallPrefix();
39 int CompressFiles(const char* outFileName, const char* toplevel,
40 const std::vector<std::string>& files);
42 std::string InstallPrefix;
45 #endif