Files
lmms/plugins/MidiImport/portsmf/strparse.h
2014-09-30 22:50:38 +02:00

19 lines
487 B
C++

// strparse.h -- header for String_parse class
class String_parse {
public:
int pos;
std::string *str;
void init(std::string *s) {
str = s;
pos = 0;
}
void skip_space();
char peek();
void get_nonspace_quoted(std::string &field);
// get the remaining characters, skipping initial spaces and final return
void get_remainder(std::string &field);
};
void string_escape(std::string &result, char *s, const char *quote);