| LEFT | RIGHT |
| 1 #include "PluginStdAfx.h" | 1 #include "PluginStdAfx.h" |
| 2 #include <algorithm> | 2 #include <algorithm> |
| 3 #include <stdexcept> | 3 #include <stdexcept> |
| 4 #include <vector> | 4 #include <vector> |
| 5 | 5 |
| 6 #include "PluginUtil.h" | 6 #include "PluginUtil.h" |
| 7 #include "PluginSettings.h" | 7 #include "PluginSettings.h" |
| 8 | 8 |
| 9 BString::BString(const std::wstring& value) | 9 BString::BString(const std::wstring& value) |
| 10 : value(::SysAllocString(value.c_str())) | 10 : value(::SysAllocString(value.c_str())) |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 return FileUrl(DllDir() + L"html\\templates\\index.html"); | 56 return FileUrl(DllDir() + L"html\\templates\\index.html"); |
| 57 } | 57 } |
| 58 | 58 |
| 59 std::wstring FileUrl(const std::wstring& path) | 59 std::wstring FileUrl(const std::wstring& path) |
| 60 { | 60 { |
| 61 std::wstring url = path; | 61 std::wstring url = path; |
| 62 std::replace(url.begin(), url.end(), L'\\', L'/'); | 62 std::replace(url.begin(), url.end(), L'\\', L'/'); |
| 63 return L"file:///" + url; | 63 return L"file:///" + url; |
| 64 } | 64 } |
| 65 | 65 |
| LEFT | RIGHT |