TextMateLib 1.0
Modern C++ implementation of the TextMate syntax highlighting engine
Loading...
Searching...
No Matches
parseRawTheme.h
1#ifndef TEXTMATELIB_PARSE_RAW_THEME_H
2#define TEXTMATELIB_PARSE_RAW_THEME_H
3
4#include "theme.h"
5#include <string>
6
7namespace tml {
8
9// Parse raw theme from JSON content
10// Returns IRawTheme that must be freed by caller
11IRawTheme* parseRawTheme(const std::string& content);
12
13// Parse JSON theme and return Theme object directly
14// Returns Theme that must be freed by caller
15Theme* parseJSONTheme(const std::string& content);
16
17} // namespace tml
18
19#endif // TEXTMATELIB_PARSE_RAW_THEME_H