Author: mpiulachs Date: Thu May 15 17:38:18 2008 New Revision: 33539
URL: http://svn.reactos.org/svn/reactos?rev=33539&view=rev Log: - 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" >
Modified: trunk/reactos/tools/rbuild/module.cpp trunk/reactos/tools/rbuild/rbuild.h
Modified: trunk/reactos/tools/rbuild/module.cpp URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/module.cpp?rev... ============================================================================== --- trunk/reactos/tools/rbuild/module.cpp [iso-8859-1] (original) +++ trunk/reactos/tools/rbuild/module.cpp [iso-8859-1] Thu May 15 17:38:18 2008 @@ -479,6 +479,18 @@ lcid = att->value; 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 ); }
Modified: trunk/reactos/tools/rbuild/rbuild.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/rbuild.h?rev=3... ============================================================================== --- trunk/reactos/tools/rbuild/rbuild.h [iso-8859-1] (original) +++ trunk/reactos/tools/rbuild/rbuild.h [iso-8859-1] Thu May 15 17:38:18 2008 @@ -378,6 +378,8 @@ FileLocation *install; std::string description; std::string lcid; + std::string layoutId; + std::string layoutNameResId;
Module ( const Project& project, const XMLElement& moduleNode,