X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=common%2Fenv.h;h=c7c78ff06872e75b903c8e02c70f68b460384f47;hb=d2cbd0639d8148c2ecc482be6ea69a56de2c7d96;hp=9a50b47abf08056911f20b2e4589db46d5ff27e0;hpb=a6f5b702bc78bee88f41480ac558e8a0b0c9f111;p=casparcg diff --git a/common/env.h b/common/env.h index 9a50b47ab..c7c78ff06 100644 --- a/common/env.h +++ b/common/env.h @@ -1,40 +1,42 @@ -/* -* 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& media_folder(); -const std::wstring& log_folder(); -const std::wstring& template_folder(); -const std::wstring& data_folder(); -const std::wstring& version(); - -const boost::property_tree::wptree& 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& media_folder(); +const std::wstring& log_folder(); +const std::wstring& template_folder(); +const std::wstring& data_folder(); +const std::wstring& thumbnails_folder(); +const std::wstring& font_folder(); +const std::wstring& version(); + +const boost::property_tree::wptree& properties(); + +} }