]> git.sesse.net Git - casparcg/blobdiff - common/env.h
[decklink_consumer] Don't schedule final empty frame at shutdown
[casparcg] / common / env.h
index 25a4e503386df91f18e4583eea5d42da91654be9..c7c78ff06872e75b903c8e02c70f68b460384f47 100644 (file)
@@ -1,20 +1,42 @@
-#pragma once\r
-\r
-#include <boost/property_tree/ptree.hpp>\r
-\r
-namespace caspar{\r
-\r
-struct env\r
-{\r
-       static void initialize(const std::string& filename);\r
-       static const std::wstring& media_folder();\r
-       static const std::wstring& log_folder();\r
-       static const std::wstring& template_folder();\r
-       static const std::wstring& template_host();\r
-       static const std::wstring& data_folder();\r
-       static const std::wstring& version();\r
-\r
-       static const boost::property_tree::ptree& properties();\r
-};\r
-\r
-};
\ No newline at end of file
+/*
+* Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>
+*
+* 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 <http://www.gnu.org/licenses/>.
+*
+* Author: Robert Nagy, ronag89@gmail.com
+*/
+
+#pragma once
+
+#include <boost/property_tree/ptree_fwd.hpp>
+
+#include <string>
+
+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();
+
+} }