]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Eot/Identification.py
BaseTools: Move Identification file to Eot
[mirror_edk2.git] / BaseTools / Source / Python / Eot / Identification.py
diff --git a/BaseTools/Source/Python/Eot/Identification.py b/BaseTools/Source/Python/Eot/Identification.py
new file mode 100644 (file)
index 0000000..f43150d
--- /dev/null
@@ -0,0 +1,58 @@
+## @file\r
+# This file is used to define the identification of INF/DEC/DSC files\r
+#\r
+# Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r
+# This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+## Identification\r
+#\r
+# This class defined basic Identification information structure which is used by INF/DEC/DSC files\r
+#\r
+# @param object:          Inherited from object class\r
+#\r
+# @var FileName:          To store data for Filename\r
+# @var FileFullPath:      To store data for full path of the file\r
+# @var FileRelativePath:  To store data for relative path of the file\r
+# @var RunStatus:       Status of build system running\r
+#\r
+class Identification(object):\r
+    def __init__(self):\r
+        self.FileName = ''\r
+        self.FileFullPath = ''\r
+        self.FileRelativePath = ''\r
+        self.PackagePath = ''\r
+\r
+    ## GetFileName\r
+    #\r
+    # Reserved\r
+    #\r
+    def GetFileName(self, FileFullPath, FileRelativePath):\r
+        pass\r
+\r
+    ## GetFileName\r
+    #\r
+    # Reserved\r
+    #\r
+    def GetFileFullPath(self, FileName, FileRelativePath):\r
+        pass\r
+\r
+    ## GetFileName\r
+    #\r
+    # Reserved\r
+    #\r
+    def GetFileRelativePath(self, FileName, FileFullPath):\r
+        pass\r
+\r
+##\r
+#\r
+# This acts like the main() function for the script, unless it is 'import'ed into another\r
+# script.\r
+#\r
+if __name__ == '__main__':\r
+    id = Identification()\r