summaryrefslogtreecommitdiff
path: root/command_line/C++_Parser/Src/Library/StaticParserGlue.c
blob: 7a4448758552e735b6393555c02d1fd52b680f3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#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(void) {
    return RegisterStaticParserPlugin(&cb, &pr_cb);
}

#include "ParserErrors.r"

int RegisterStaticParserResources(void) {
    return RegisterResource("Parser Strings", 12010, STR12010);
}