GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
ParameterOptions.h
1 /*
2  * GDevelop Core
3  * Copyright 2008-2016 Florian Rival ([email protected]). All rights
4  * reserved. This project is released under the MIT License.
5  */
6 
7 #ifndef PARAMETEROPTIONS_H
8 #define PARAMETEROPTIONS_H
9 #include "GDCore/String.h"
10 #include "ParameterMetadata.h"
11 
12 namespace gd {} // namespace gd
13 
14 namespace gd {
15 struct GD_CORE_API ParameterOptions {
16  gd::String description;
17  gd::String typeExtraInfo;
18 
19  ParameterOptions &SetDescription(const gd::String &description_) {
20  description = description_;
21  return *this;
22  }
23  ParameterOptions &SetTypeExtraInfo(const gd::String &typeExtraInfo_) {
24  typeExtraInfo = typeExtraInfo_;
25  return *this;
26  }
27 
28  static ParameterOptions MakeNewOptions() {
29  ParameterOptions emptyOptions;
30  return emptyOptions;
31  }
32 };
33 }
34 
35 #endif // PARAMETEROPTIONS_H
String represents an UTF8 encoded string.
Definition: String.h:33
Definition: CommonTools.h:24
Definition: ParameterOptions.h:15