/[gr2lib]/trunk/gr2lib/core/coreclasses/header/granny_file.cs
ViewVC logotype

Diff of /trunk/gr2lib/core/coreclasses/header/granny_file.cs

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

--- trunk/gr2lib/core/coreclasses/header/granny_file.cs	2010/07/17 13:53:49	101
+++ trunk/gr2lib/core/coreclasses/header/granny_file.cs	2010/07/17 13:54:18	102
@@ -55,6 +55,7 @@
 
             // process
 
+            
             managed.IsByteReversed = native.IsByteReversed;
             managed.SectionCount = native.SectionCount;
             managed.Sections = native.Sections;
@@ -134,6 +135,10 @@
         public bool Marshalled { get { return _Marshalled; } set { _Marshalled = value; } }
         public bool IsUserMemory { get { return _IsUserMemory; } set { _IsUserMemory = value; } }
         public IntPtr ConversionBuffer { get { return _ConversionBuffer; } set { _ConversionBuffer = value; } }
+
+
+        public bool HaveHeader { get { if (Header == null) return false; return true; } }
+        public bool HaveMagic { get { if (SourceMagicValue == null) return false; return true; } }
         #endregion
     }
 }

 

  ViewVC Help
Powered by ViewVC 1.1.22