]>
Commit | Line | Data |
---|---|---|
30fdf114 LG |
1 | ## @file\r |
2 | # This file is used to define the identification of INF/DEC/DSC files\r | |
3 | #\r | |
40d841f6 LG |
4 | # Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r |
5 | # This program and the accompanying materials\r | |
30fdf114 LG |
6 | # are licensed and made available under the terms and conditions of the BSD License\r |
7 | # which accompanies this distribution. The full text of the license may be found at\r | |
8 | # http://opensource.org/licenses/bsd-license.php\r | |
9 | #\r | |
10 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | ## Identification\r | |
14 | #\r | |
15 | # This class defined basic Identification information structure which is used by INF/DEC/DSC files\r | |
16 | #\r | |
17 | # @param object: Inherited from object class\r | |
18 | #\r | |
19 | # @var FileName: To store data for Filename\r | |
20 | # @var FileFullPath: To store data for full path of the file\r | |
21 | # @var FileRelativePath: To store data for relative path of the file\r | |
22 | # @var RunStatus: Status of build system running\r | |
23 | #\r | |
24 | class Identification(object):\r | |
25 | def __init__(self):\r | |
26 | self.FileName = ''\r | |
27 | self.FileFullPath = ''\r | |
28 | self.FileRelativePath = ''\r | |
29 | self.PackagePath = ''\r | |
30 | \r | |
31 | ## GetFileName\r | |
32 | #\r | |
33 | # Reserved\r | |
34 | #\r | |
35 | def GetFileName(self, FileFullPath, FileRelativePath):\r | |
36 | pass\r | |
37 | \r | |
38 | ## GetFileName\r | |
39 | #\r | |
40 | # Reserved\r | |
41 | #\r | |
42 | def GetFileFullPath(self, FileName, FileRelativePath):\r | |
43 | pass\r | |
44 | \r | |
45 | ## GetFileName\r | |
46 | #\r | |
47 | # Reserved\r | |
48 | #\r | |
49 | def GetFileRelativePath(self, FileName, FileFullPath):\r | |
50 | pass\r | |
51 | \r | |
52 | ##\r | |
53 | #\r | |
54 | # This acts like the main() function for the script, unless it is 'import'ed into another\r | |
55 | # script.\r | |
56 | #\r | |
57 | if __name__ == '__main__':\r | |
58 | id = Identification()\r |