mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 07:26:47 +00:00
- Add specific properties to the keyboardlayout module type. They will assist us on autogenerating/updating the [keyboardLayout] & [Files.KeyboardLayout] from txtsetup and registry information automatically in the near future
note: All rbuild files in reactos\dll\keyboard must be updated to contain the follwing information: <module name="kbdusl" type="keyboardlayout" (...) description="US Dvorak for left hand" lcid="00030409" layoutId="001A" layoutnameresid="5027" > svn path=/trunk/; revision=33539
This commit is contained in:
parent
3b3bd169e9
commit
3195cffc1f
|
@ -480,6 +480,18 @@ Module::Module ( const Project& project,
|
|||
else
|
||||
lcid = "";
|
||||
|
||||
att = moduleNode.GetAttribute ( "layoutid", false );
|
||||
if (type == KeyboardLayout && att != NULL )
|
||||
layoutId = att->value;
|
||||
else
|
||||
layoutId = "";
|
||||
|
||||
att = moduleNode.GetAttribute ( "layoutnameresid", false );
|
||||
if (type == KeyboardLayout && att != NULL )
|
||||
layoutNameResId = att->value;
|
||||
else
|
||||
layoutNameResId = "";
|
||||
|
||||
SetImportLibrary ( NULL );
|
||||
}
|
||||
|
||||
|
|
|
@ -378,6 +378,8 @@ public:
|
|||
FileLocation *install;
|
||||
std::string description;
|
||||
std::string lcid;
|
||||
std::string layoutId;
|
||||
std::string layoutNameResId;
|
||||
|
||||
Module ( const Project& project,
|
||||
const XMLElement& moduleNode,
|
||||
|
|
Loading…
Reference in a new issue