]> git.sesse.net Git - casparcg/blob - core/server.h
2.0.0.2:
[casparcg] / core / server.h
1 #pragma once\r
2 \r
3 #include "renderer/renderer_fwd.h"\r
4 \r
5 #include <common/exception/exceptions.h>\r
6 \r
7 #include <boost/noncopyable.hpp>\r
8 \r
9 #include <vector>\r
10 \r
11 namespace caspar { namespace core { \r
12         \r
13 struct invalid_configuration : virtual boost::exception, virtual std::exception {};\r
14 \r
15 class server : boost::noncopyable\r
16 {\r
17 public:\r
18         server();\r
19 \r
20         static const std::wstring& media_folder();\r
21         static const std::wstring& log_folder();\r
22         static const std::wstring& template_folder();           \r
23         static const std::wstring& data_folder();       \r
24 \r
25         const std::vector<renderer::render_device_ptr>& get_channels() const;\r
26 private:\r
27         struct implementation;\r
28         std::shared_ptr<implementation> impl_;\r
29 };\r
30 \r
31 }}