From: Marc Piulachs Date: Thu, 15 May 2008 22:38:18 +0000 (+0000) Subject: - Add specific properties to the keyboardlayout module type. They will assist us... X-Git-Tag: ReactOS-0.3.5~537 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=3195cffc1fd7f0f4060ed7e054911ce5e3f9e690;ds=inline - 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: svn path=/trunk/; revision=33539 --- diff --git a/reactos/tools/rbuild/module.cpp b/reactos/tools/rbuild/module.cpp index 8943944f83b..b2b4958f7f1 100644 --- a/reactos/tools/rbuild/module.cpp +++ b/reactos/tools/rbuild/module.cpp @@ -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 ); } diff --git a/reactos/tools/rbuild/rbuild.h b/reactos/tools/rbuild/rbuild.h index 3375fbce36d..cac006be0b6 100644 --- a/reactos/tools/rbuild/rbuild.h +++ b/reactos/tools/rbuild/rbuild.h @@ -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,