Exemplo n.º 1
0
        public static PBXFileReferenceData CreateFromFolderReference(string path, string projectFileName, PBXSourceTree tree)
        {
            PBXFileReferenceData fromFile = PBXFileReferenceData.CreateFromFile(path, projectFileName, tree);

            fromFile.m_LastKnownFileType = "folder";
            return(fromFile);
        }
 public static PBXFileReferenceData CreateFromFile(string path, string projectFileName, PBXSourceTree tree)
 {
     string str = PBXGUID.Generate();
     PBXFileReferenceData data = new PBXFileReferenceData();
     data.SetPropertyString("isa", "PBXFileReference");
     data.guid = str;
     data.path = path;
     data.name = projectFileName;
     data.tree = tree;
     return data;
 }
Exemplo n.º 3
0
        public static PBXFileReferenceData CreateFromFile(string path, string projectFileName, PBXSourceTree tree)
        {
            string str = PBXGUID.Generate();
            PBXFileReferenceData fileReferenceData = new PBXFileReferenceData();

            fileReferenceData.SetPropertyString("isa", "PBXFileReference");
            fileReferenceData.guid = str;
            fileReferenceData.path = path;
            fileReferenceData.name = projectFileName;
            fileReferenceData.tree = tree;
            return(fileReferenceData);
        }
Exemplo n.º 4
0
 private void FileRefsAdd(string realPath, string projectPath, PBXGroupData parent, PBXFileReferenceData fileRef)
 {
     this.m_Data.FileRefsAdd(realPath, projectPath, parent, fileRef);
 }