3 #ifndef SPECTMORPH_USER_INSTRUMENT_INDEX_HH
4 #define SPECTMORPH_USER_INSTRUMENT_INDEX_HH
6 #include "sminstrument.hh"
14 std::string user_instruments_dir;
16 Error create_bank_directory (
const std::string& bank);
21 Error update_instrument (
const std::string& bank,
int number,
const Instrument& instrument);
23 std::string bank_directory (
const std::string& bank);
24 std::string filename (
const std::string& bank,
int number);
25 std::string label (
const std::string& bank,
int number);
27 int count (
const std::string& bank);
29 Error remove_bank (
const std::string& bank);
30 Error create_bank (
const std::string& bank);
31 std::vector<std::string> list_banks();
Definition: smutils.hh:102
Definition: sminstrument.hh:83
Definition: smsignal.hh:150
Definition: smuserinstrumentindex.hh:12