mirror of https://git.wuffs.org/MWCC
30 lines
630 B
C
30 lines
630 B
C
#include "parser.h"
|
|
#include "cmdline.h"
|
|
|
|
static BasePluginCallbacks cb = {
|
|
parser_main,
|
|
CWParser_GetDropInFlags,
|
|
CWParser_GetDisplayName,
|
|
CWParser_GetDropInName,
|
|
CWParser_GetPanelList,
|
|
NULL,
|
|
NULL,
|
|
CWParser_GetVersionInfo,
|
|
NULL
|
|
};
|
|
|
|
static ParserPluginCallbacks pr_cb = {
|
|
Parser_SupportsPlugin,
|
|
Parser_SupportsPanels
|
|
};
|
|
|
|
int RegisterStaticParserPlugins() {
|
|
return RegisterStaticParserPlugin(&cb, &pr_cb);
|
|
}
|
|
|
|
#include "ParserErrors.r"
|
|
|
|
int RegisterStaticParserResources() {
|
|
return RegisterResource("Parser Strings", 12010, STR12010);
|
|
}
|