.group(1))) {\r
templine = mtrinclude.group();\r
} else {\r
- templine = MigrationTool.MIGRATIONCOMMENT\r
- + mtrinclude.group();\r
- }\r
- mtrinclude.appendReplacement(wholebuffer, templine);\r
- }\r
+ String line = mtrinclude.group().toLowerCase();\r
+ if (line.contains("pal.h")) {\r
+ templine = "#include <IndustryStandard/Pal.h>\n";\r
+ } else if (line.contains("sal.h")) {\r
+ templine = "#include <IndustryStandard/Sal.h>\n";\r
+ } else if (line.contains("pci22.h")) {\r
+ templine = "#include <IndustryStandard/Pci22.h>\n";\r
+ } else if (line.contains("pci23.h")) {\r
+ templine = "#include <IndustryStandard/Pci23.h>\n";\r
+ } else if (line.contains("pci30.h")) {\r
+ templine = "#include <IndustryStandard/Pci30.h>\n";\r
+ } else if (line.contains("pci.h")) {\r
+ templine = "#include <IndustryStandard/Pci.h>\n";\r
+ } else if (line.contains("acpi.h")) {\r
+ templine = "#include <IndustryStandard/Acpi.h>\n";\r
+ } else if (line.contains("scsi.h")) {\r
+ templine = "#include <IndustryStandard/Scsi.h>\n";\r
+ } else if (line.contains("usb.h")) {\r
+ templine = "#include <IndustryStandard/Usb.h>\n";\r
+ } else {\r
+ templine = MigrationTool.MIGRATIONCOMMENT\r
+ + mtrinclude.group();\r
+ }\r
+ }\r
+ mtrinclude.appendReplacement(wholebuffer, templine);\r
+ }\r
mtrinclude.appendTail(wholebuffer);\r
return wholebuffer.toString();\r
}\r