lorid

convert chordpro to pdf
git clone git://git.relim.de/lorid.git
Log | Files | Refs | README | LICENSE

config.h (673B)


      1 #include <linux/limits.h>
      2 #include "core.h"
      3 
      4 #ifndef _CONFIG_H_
      5 #define _CONFIG_H_
      6 
      7 #ifdef ENABLE_DEBUG
      8 #define SYMBOLS_FILEPATH "./misc/ChordProSymbols.ttf"
      9 #else
     10 #define SYMBOLS_FILEPATH PREFIX"/share/lorid/ChordProSymbols.ttf"
     11 #endif /* ENABLE_DEBUG */
     12 
     13 struct ConfigContext {
     14 	char *config_filepath;
     15 };
     16 
     17 struct Config *config_load_default(void);
     18 struct Config *config_load_from_file(const char *filepath);
     19 struct Config *config_load_from_data(const char *data);
     20 
     21 void config_free(struct Config *config);
     22 void config_print_default(void);
     23 
     24 struct Note *config_notes_common(void);
     25 struct InstrumentInfo config_instrument_get(enum Instrument ins);
     26 
     27 #endif /* _CONFIG_H_ */