- 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:
Marc Piulachs 2008-05-15 22:38:18 +00:00
parent 3b3bd169e9
commit 3195cffc1f
2 changed files with 14 additions and 0 deletions

View file

@ -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 );
}

View file

@ -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,