Jamba C++ API  6.1.0
Types.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019-2023 pongasoft
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5  * use this file except in compliance with the License. You may obtain a copy of
6  * the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13  * License for the specific language governing permissions and limitations under
14  * the License.
15  *
16  * @author Yan Pujante
17  */
18 #pragma once
19 
20 #include <string>
21 #include <pluginterfaces/base/ftypes.h>
22 #include <pluginterfaces/vst/vsttypes.h>
23 
24 namespace pongasoft::VST {
25 
26 using namespace Steinberg::Vst;
27 
43 using VstString16 = std::basic_string<Steinberg::char16>;
44 
47 constexpr ParamID UNDEFINED_PARAM_ID = static_cast<ParamID>(-1);
48 
57 using TagID = ParamID;
58 
62 }
constexpr TagID UNDEFINED_TAG_ID
Constant used to test whether the TagID represents a valid id or an undefined one.
Definition: Types.h:61
ParamID TagID
Defining a type for tags.
Definition: Types.h:57
std::basic_string< Steinberg::char16 > VstString16
Strings made of char16 characters are represented by the native C++11 type std::basic_string<Steinber...
Definition: Types.h:43
Definition: Clock.h:23
constexpr ParamID UNDEFINED_PARAM_ID
Constant used throughout the code to test whether the ParamID represents a valid id or an undefined o...
Definition: Types.h:47