Add initial bits for Qt6 support
[carla.git] / source / includes / vst3sdk / pluginterfaces / base / conststringtable.h
blobe19cae6512fcc4c38cab4005ec582c58f1e4b505
1 //-----------------------------------------------------------------------------
2 // Project : SDK Core
3 //
4 // Category : SDK Core Interfaces
5 // Filename : pluginterfaces/base/conststringtable.h
6 // Created by : Steinberg, 09/2007
7 // Description : constant unicode string table
8 //
9 //-----------------------------------------------------------------------------
10 // This file is part of a Steinberg SDK. It is subject to the license terms
11 // in the LICENSE file found in the top-level directory of this distribution
12 // and at www.steinberg.net/sdklicenses.
13 // No part of the SDK, including this file, may be copied, modified, propagated,
14 // or distributed except according to the terms contained in the LICENSE file.
15 //-----------------------------------------------------------------------------
17 #pragma once
19 #include "ftypes.h"
21 namespace Steinberg {
23 //------------------------------------------------------------------------
24 /** Constant unicode string table.
25 Used for conversion from ASCII string literals to char16.
27 class ConstStringTable
29 public:
30 static ConstStringTable* instance ();
32 /** Returns a char16 string of a ASCII string literal*/
33 const char16* getString (const char8* str) const;
34 /** Returns a char16 character of a ASCII character */
35 const char16 getString (const char8 str) const;
37 protected:
38 ConstStringTable ();
39 ~ConstStringTable ();
42 //------------------------------------------------------------------------
43 } // namespace Steinberg