]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/UPT/Object/POM/ModuleObject.py
BaseTools/UPT: Fix UNI file name issue
[mirror_edk2.git] / BaseTools / Source / Python / UPT / Object / POM / ModuleObject.py
index e85b8fa010ab6c727d84e0048d4ea5c4b3f671c3..4052d2883596d01971984428f491441a7fb6db7c 100644 (file)
@@ -1,7 +1,7 @@
 ## @file\r
 # This file is used to define a class object to describe a module\r
 #\r
-# Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2011 - 2017, Intel Corporation. All rights reserved.<BR>\r
 #\r
 # This program and the accompanying materials are licensed and made available \r
 # under the terms and conditions of the BSD License which accompanies this \r
@@ -105,6 +105,7 @@ class ModuleHeaderObject(IdentificationObject, CommonHeaderObject, BinaryHeaderO
         self.PiSpecificationVersion = ''\r
         self.UefiSpecificationVersion = ''\r
         self.UNIFlag = False\r
+        self.ModuleUniFile = ''\r
         #\r
         # SpecObject\r
         #\r
@@ -208,6 +209,11 @@ class ModuleHeaderObject(IdentificationObject, CommonHeaderObject, BinaryHeaderO
     def GetSupArchList(self):\r
         return self.SupArchList\r
 \r
+    def SetModuleUniFile(self, ModuleUniFile):\r
+        self.ModuleUniFile = ModuleUniFile\r
+\r
+    def GetModuleUniFile(self):\r
+        return self.ModuleUniFile\r
 ##\r
 # SourceFileObject\r
 #\r