X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Tools%2FJava%2FSource%2FFrameworkTasks%2Forg%2Ftianocore%2Fframework%2Ftasks%2FSectFile.java;h=9d53a21999a8065e0907aff2a9b40d9f948f7343;hp=c110f3bc50b27f8e6cfd34bca66a7ee654daf8ab;hb=e3cc406130b14c020c75e3a169f94ba001bf2128;hpb=feccee87a78e68d575dbdf44b34ca0cb5a21ea8d diff --git a/Tools/Java/Source/FrameworkTasks/org/tianocore/framework/tasks/SectFile.java b/Tools/Java/Source/FrameworkTasks/org/tianocore/framework/tasks/SectFile.java index c110f3bc50..9d53a21999 100644 --- a/Tools/Java/Source/FrameworkTasks/org/tianocore/framework/tasks/SectFile.java +++ b/Tools/Java/Source/FrameworkTasks/org/tianocore/framework/tasks/SectFile.java @@ -25,6 +25,7 @@ import org.apache.tools.ant.BuildException; **/ public class SectFile implements Section { private String fileName = ""; /// section file name + private int alignment = 0; /** Get method of ANT task/datatype for "FileName" attribute @@ -44,6 +45,18 @@ public class SectFile implements Section { this.fileName = fileName; } + public int getAlignment() { + return alignment; + } + + public void setAlignment(int alignment) { + if (alignment > 7) { + this.alignment = 7; + } else { + this.alignment = alignment; + } + } + public SectFile (){ }