X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=common%2Fenv.h;h=9b06fcf3165aea52de92e865ae876238294cad39;hb=8e7009ec91b52dc3cfba1824381f6d8cd4efd318;hp=da44e04b9b2d4067f8633abee64b2cea79b6d946;hpb=cbbefb07189f03d9ab27ce217acacdd9c760dcf0;p=casparcg diff --git a/common/env.h b/common/env.h index da44e04b9..9b06fcf31 100644 --- a/common/env.h +++ b/common/env.h @@ -1,20 +1,45 @@ -#pragma once - -#include - -#include - -namespace caspar { namespace env { - -void configure(const std::string& filename); - -const std::wstring& media_folder(); -const std::wstring& log_folder(); -const std::wstring& template_folder(); -const std::wstring& template_host(); -const std::wstring& data_folder(); -const std::wstring& version(); - -const boost::property_tree::ptree& properties(); - -} } \ No newline at end of file +/* +* Copyright (c) 2011 Sveriges Television AB +* +* This file is part of CasparCG (www.casparcg.com). +* +* CasparCG is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* CasparCG is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with CasparCG. If not, see . +* +* Author: Robert Nagy, ronag89@gmail.com +*/ + +#pragma once + +#include + +#include + +namespace caspar { namespace env { + +void configure(const std::wstring& filename); + +const std::wstring& initial_folder(); +const std::wstring& media_folder(); +const std::wstring& log_folder(); +const std::wstring& template_folder(); +const std::wstring& data_folder(); +const std::wstring& thumbnail_folder(); +const std::wstring& font_folder(); +const std::wstring& version(); + +const boost::property_tree::wptree& properties(); + +void log_configuration_warnings(); + +} }