]> git.sesse.net Git - casparcg/blobdiff - common/diagnostics/graph.h
set svn:eol-style native on .h and .cpp files
[casparcg] / common / diagnostics / graph.h
index f82491222bba63421697f20fe7d9c32810907854..e52a2c9d769091c81a1b9cfe955b4227c568afac 100644 (file)
@@ -1,53 +1,53 @@
-/*\r
-* Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\r
-*\r
-* This file is part of CasparCG (www.casparcg.com).\r
-*\r
-* CasparCG is free software: you can redistribute it and/or modify\r
-* it under the terms of the GNU General Public License as published by\r
-* the Free Software Foundation, either version 3 of the License, or\r
-* (at your option) any later version.\r
-*\r
-* CasparCG is distributed in the hope that it will be useful,\r
-* but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-* GNU General Public License for more details.\r
-*\r
-* You should have received a copy of the GNU General Public License\r
-* along with CasparCG. If not, see <http://www.gnu.org/licenses/>.\r
-*\r
-* Author: Robert Nagy, ronag89@gmail.com\r
-*/\r
-\r
-#pragma once\r
-\r
-#include "../memory.h"\r
-\r
-#include <string>\r
-#include <tuple>\r
-\r
-#include <boost/noncopyable.hpp>\r
-\r
-namespace caspar { namespace diagnostics {\r
-       \r
-int color(float r, float g, float b, float a = 1.0f);\r
-std::tuple<float, float, float, float> color(int code);\r
-\r
-class graph : boost::noncopyable\r
-{\r
-       friend void register_graph(const spl::shared_ptr<graph>& graph);\r
-public:\r
-       graph();\r
-       void set_text(const std::wstring& value);\r
-       void set_value(const std::string& name, double value);\r
-       void set_color(const std::string& name, int color);\r
-       void set_tag(const std::string& name);\r
-private:\r
-       struct impl;\r
-       std::shared_ptr<impl> impl_;\r
-};\r
-\r
-void register_graph(const spl::shared_ptr<graph>& graph);\r
-void show_graphs(bool value);\r
-\r
+/*
+* 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 "../memory.h"
+
+#include <string>
+#include <tuple>
+
+#include <boost/noncopyable.hpp>
+
+namespace caspar { namespace diagnostics {
+       
+int color(float r, float g, float b, float a = 1.0f);
+std::tuple<float, float, float, float> color(int code);
+
+class graph : boost::noncopyable
+{
+       friend void register_graph(const spl::shared_ptr<graph>& graph);
+public:
+       graph();
+       void set_text(const std::wstring& value);
+       void set_value(const std::string& name, double value);
+       void set_color(const std::string& name, int color);
+       void set_tag(const std::string& name);
+private:
+       struct impl;
+       std::shared_ptr<impl> impl_;
+};
+
+void register_graph(const spl::shared_ptr<graph>& graph);
+void show_graphs(bool value);
+
 }}
\ No newline at end of file