| Index: src/plugin/ATL_Deprecate.cpp |
| =================================================================== |
| new file mode 100644 |
| --- /dev/null |
| +++ b/src/plugin/ATL_Deprecate.cpp |
| @@ -0,0 +1,16 @@ |
| +/** |
| + * \file ATL_Deprecate.cpp Transient functions used during the ATL removal process. |
| + */ |
| + |
| +#include "ATL_Deprecate.h" |
| + |
| +std::wstring to_wstring(const ATL::CString& s) |
|
Felix Dahlke
2014/09/30 13:21:36
Am I missing something, or why do we use underscor
Eric
2014/09/30 15:43:34
This code was originally written months ago, befor
|
| +{ |
| + std::wstring result(static_cast<const wchar_t *>(s)); |
|
Felix Dahlke
2014/09/30 13:21:36
No space between wchar_t and * please.
|
| + return result; |
| +} |
| + |
| +ATL::CString to_CString(const std::wstring& s) |
| +{ |
| + return ATL::CString(s.c_str()); |
| +} |