| Index: src/plugin/ATL_Deprecate.cpp |
| =================================================================== |
| new file mode 100644 |
| --- /dev/null |
| +++ b/src/plugin/ATL_Deprecate.cpp |
| @@ -0,0 +1,18 @@ |
| +/** |
| + * \file ATL_Deprecate.cpp Transient functions used during the ATL removal process. |
| + */ |
| + |
| +#include "ATL_Deprecate.h" |
| + |
| +std::wstring to_wstring(ATL::CString& s) |
| +{ |
| + std::wstring result(s.GetBuffer()); |
| + s.ReleaseBuffer(); |
| + return result; |
| +} |
| + |
| + |
| +ATL::CString to_CString(const std::wstring& s) |
| +{ |
| + return ATL::CString(s.c_str()); |
| +} |