XJ music engine  1.9.6
In-game runtime engine for XJ music.
ProgramConfig.h
Go to the documentation of this file.
1 
2 // Copyright (c) XJ Music Inc. (https://xjmusic.com) All Rights Reserved.
3 
4 #ifndef XJMUSIC_PROGRAM_CONFIG_H
5 #define XJMUSIC_PROGRAM_CONFIG_H
6 
8 
9 namespace XJ {
10 
11  class ProgramConfig : public ConfigParser {
12  private:
13  static const std::string DEFAULT;
14 
15  public:
16  explicit ProgramConfig();
17 
18  explicit ProgramConfig(const std::string &input);
19 
21  int barBeats;
23 
28  [[nodiscard]] std::string toString() const;
29 
33  [[nodiscard]] static std::string getDefaultString();
34 
35  };
36 
37 }// namespace XJ
38 
39 #endif//XJMUSIC_PROGRAM_CONFIG_H
Definition: ConfigParser.h:222
Definition: ProgramConfig.h:11
int barBeats
Definition: ProgramConfig.h:21
int cutoffMinimumBars
Definition: ProgramConfig.h:22
std::string toString() const
Definition: ProgramConfig.cpp:29
bool doPatternRestartOnChord
Definition: ProgramConfig.h:20
ProgramConfig()
Definition: ProgramConfig.cpp:19
static std::string getDefaultString()
Definition: ProgramConfig.cpp:50
Definition: ActiveAudio.h:11