使用soui开发的mbc,只支持windows版本
w1146869587
2022-01-24 479b1995ef435713c2cf4f0da8de3a6af6c30922
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
ÿþ//stamp:07590ec5b664a475
/*<------------------------------------------------------------------------------------------------->*/
/*勇eöN1uuiresbuilderub ÿ÷‹ N‰Kb¨RîO9e*/
/*<------------------------------------------------------------------------------------------------->*/
#pragma once
#include <res.mgr/snamedvalue.h>
#define ROBJ_IN_CPP \
namespace SOUI \
{\
    const _R R;\
    const _UIRES UIRES;\
}
namespace SOUI
{
    class _UIRES{
        public:
        class _UIDEF{
            public:
            _UIDEF(){
                XML_INIT = _T("UIDEF:XML_INIT");
            }
            const TCHAR * XML_INIT;
        }UIDEF;
        class _LAYOUT{
            public:
            _LAYOUT(){
                XML_MAINWND = _T("LAYOUT:XML_MAINWND");
            }
            const TCHAR * XML_MAINWND;
        }LAYOUT;
        class _values{
            public:
            _values(){
                string = _T("values:string");
                color = _T("values:color");
                skin = _T("values:skin");
            }
            const TCHAR * string;
            const TCHAR * color;
            const TCHAR * skin;
        }values;
        class _IMG{
            public:
            _IMG(){
            }
        }IMG;
        class _ICON{
            public:
            _ICON(){
                ICON_LOGO = _T("ICON:ICON_LOGO");
            }
            const TCHAR * ICON_LOGO;
        }ICON;
    };
    const SNamedID::NAMEDVALUE namedXmlID[]={
        {L"_name_start",65535},
        {L"btn_close",65536},
        {L"btn_db",65542},
        {L"btn_max",65537},
        {L"btn_min",65539},
        {L"btn_restore",65538},
        {L"btn_sftwfiresync",65541},
        {L"btn_sync",65540}        };
    class _R{
    public:
        class _name{
        public:
        _name(){
            _name_start = namedXmlID[0].strName;
            btn_close = namedXmlID[1].strName;
            btn_db = namedXmlID[2].strName;
            btn_max = namedXmlID[3].strName;
            btn_min = namedXmlID[4].strName;
            btn_restore = namedXmlID[5].strName;
            btn_sftwfiresync = namedXmlID[6].strName;
            btn_sync = namedXmlID[7].strName;
        }
         const wchar_t * _name_start;
         const wchar_t * btn_close;
         const wchar_t * btn_db;
         const wchar_t * btn_max;
         const wchar_t * btn_min;
         const wchar_t * btn_restore;
         const wchar_t * btn_sftwfiresync;
         const wchar_t * btn_sync;
        }name;
 
        class _id{
        public:
        const static int _name_start    =    65535;
        const static int btn_close    =    65536;
        const static int btn_db    =    65542;
        const static int btn_max    =    65537;
        const static int btn_min    =    65539;
        const static int btn_restore    =    65538;
        const static int btn_sftwfiresync    =    65541;
        const static int btn_sync    =    65540;
        }id;
 
        class _string{
        public:
        const static int title    =    0;
        const static int ver    =    1;
        }string;
 
        class _color{
        public:
        const static int blue    =    0;
        const static int gray    =    1;
        const static int green    =    2;
        const static int red    =    3;
        const static int white    =    4;
        }color;
 
    };
 
#ifdef R_IN_CPP
     extern const _R R;
     extern const _UIRES UIRES;
#else
     extern const __declspec(selectany) _R & R = _R();
     extern const __declspec(selectany) _UIRES & UIRES = _UIRES();
#endif//R_IN_CPP
}