/[gr2lib]/trunk/gr2lib/core/coretypes/implementation/grnfileinfo.cs
ViewVC logotype

Diff of /trunk/gr2lib/core/coretypes/implementation/grnfileinfo.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 96 by william, Sat Jul 17 05:10:22 2010 UTC revision 97 by william, Sat Jul 17 05:53:44 2010 UTC
# Line 64  namespace gr2lib.core.coretypes.implemen Line 64  namespace gr2lib.core.coretypes.implemen
64                  {                  {
65                      managed.ArtToolInfo = ArtToolInfo.ReadFromMemory(native.ArtToolInfo);                      managed.ArtToolInfo = ArtToolInfo.ReadFromMemory(native.ArtToolInfo);
66                  }                  }
67                  else                  //else
68                  {                  //{
69                      managed.ArtToolInfo = new ArtToolInfo();                  //    managed.ArtToolInfo = new ArtToolInfo();
70                  }                  //}
71                  if (native.ExporterInfo != IntPtr.Zero)                  if (native.ExporterInfo != IntPtr.Zero)
72                  {                  {
73                      managed.ExporterInfo = ExporterInfo.ReadFromMemory(native.ExporterInfo);                      managed.ExporterInfo = ExporterInfo.ReadFromMemory(native.ExporterInfo);
74                  }                  }
75                  else                  //else
76                  {                  //{
77                      managed.ExporterInfo = new ExporterInfo();                  //    managed.ExporterInfo = new ExporterInfo();
78                  }                  //}
79    
80                  managed.fromFileName = string.IsNullOrEmpty(native.FromFileName) ? "{null}" : native.FromFileName;                  managed.fromFileName = string.IsNullOrEmpty(native.FromFileName) ? "{null}" : native.FromFileName;
81                  managed.ExtendedData = native.ExtendedData;                  managed.ExtendedData = native.ExtendedData;

Legend:
Removed from v.96  
changed lines
  Added in v.97

  ViewVC Help
Powered by ViewVC 1.1.22