ASPiK SDK
winstring.h
1 // This file is part of VSTGUI. It is subject to the license terms
2 // in the LICENSE file found in the top-level directory of this
3 // distribution and at http://github.com/steinbergmedia/vstgui/LICENSE
4 
5 #ifndef __winstring__
6 #define __winstring__
7 
8 #include "../iplatformstring.h"
9 
10 #if WINDOWS
11 
12 #include <windows.h>
13 
14 namespace VSTGUI {
15 
16 //-----------------------------------------------------------------------------
17 class WinString : public IPlatformString
18 {
19 public:
20  WinString (UTF8StringPtr utf8String);
21  ~WinString () noexcept;
22 
23  void setUTF8String (UTF8StringPtr utf8String) override;
24 
25  const WCHAR* getWideString () const { return wideString; }
26 //-----------------------------------------------------------------------------
27 protected:
28  WCHAR* wideString;
29  int wideStringBufferSize;
30 };
31 
32 } // namespace
33 
34 #endif // WINDOWS
35 
36 #endif // __winstring__
Definition: customcontrols.cpp:8