https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: a2affb3a61ca5a6402bc56553acf56d186c677b7 authored by Lars Bilke on 03 April 2023, 11:52:44 UTC
Merge branch 'helper-repo' into 'master'
Tip revision: a2affb3
PrjProcessing.h
/**
 * \file
 * \copyright
 * Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
 *            Distributed under a Modified BSD License.
 *              See accompanying file LICENSE.txt or
 *              http://www.opengeosys.org/project/license
 *
 */

#pragma once

#include <iosfwd>
#include <string>
#include <vector>

namespace BaseLib
{
/**
 * \brief Applies includes and patch files to project file.
 *
 * \param prj_stream    The processed prj as a stringstream.
 * \param filepath      The prj file.
 * \param patch_files   Optional patch files.
 * \param write_prj     Write the processed project file to disk?
 * \param out_directory The directory to write the processed file to.
 */
void prepareProjectFile(std::stringstream& prj_stream,
                        const std::string& filepath,
                        const std::vector<std::string>& patch_files,
                        bool write_prj, const std::string& out_directory);
}  // namespace BaseLib
back to top