blob: 8e8d8471bfd3ca0d6986ec7eaca9e5d66d7f4798 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#include <Dk4WxApplicationHelper.h>
$!trace-include
static const wxChar progname[] = { wxT("test-dk4wxah") };
static const wxChar vendorname[] = { wxT("Dirk Krause") };
static const dkChar groupname[] = { dkT("dktools") };
static const wxChar * const kw_def[] = {
$!string-table macro=wxT
#
# 0
#
Test
#
# 1
#
Yet another test
$!end
};
int main(int argc, char *argv[])
{
const wxChar * const *stringtable = NULL;
$!trace-init test-dk4wxah.deb
$? "+ main"
{
Dk4WxApplicationHelper ah(progname, vendorname, groupname);
if (ah.checkSetup()) { $? ". setup ok"
stringtable = ah.stringTable(dkT("dk3app.str"), kw_def);
} else { $? ". setup failed"
}
}
$? "- main"
$!trace-end
return 0;
}
|