/[gr2lib]/trunk/gr2lib/core/coreclasses/apiversion/granny2apiversion.cs
ViewVC logotype

Diff of /trunk/gr2lib/core/coreclasses/apiversion/granny2apiversion.cs

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

--- trunk/gr2lib/core/coreclasses/apiversion/granny2apiversion.cs	2010/07/15 04:37:58	44
+++ trunk/gr2lib/core/coreclasses/apiversion/granny2apiversion.cs	2010/07/15 04:40:28	45
@@ -71,7 +71,7 @@
     #endregion
 
     #region public class Granny2APIVersion
-    public interface Igranny2apiversion
+    public interface igranny2apiversion
     {
         bool apiversionsmatch { get; }
         versiontype apiversion { get; }
@@ -80,12 +80,12 @@
     /// <summary>
     /// Handle's the checking of the Loaded Granny2 API Version
     /// </summary>
-    public class granny2apiversion : Igranny2apiversion
+    public class granny2apiversion : igranny2apiversion
     {
         public granny2apiversion()
         {
-            this._APIVersion = new versiontype();
-            this._APIVersionsMatch = this.GrannyVersionsMatch();
+            this._apiversion = new versiontype();
+            this._apiversionsmatch = this.GrannyVersionsMatch();
             this.GetGrannyVersion();
         }   
         #region APIVersion Support
@@ -109,18 +109,18 @@
         }
         private void GetGrannyVersion()
         {
-            granny_int32x Major = 0;
-            granny_int32x Minor = 0;
-            granny_int32x Customization = 0;
-            granny_int32x Build = 0;
+            granny_int32x major = 0;
+            granny_int32x minor = 0;
+            granny_int32x customization = 0;
+            granny_int32x build = 0;
 
             gr2lib.core.coreapi.GrannyGetVersion(
-                ref Major,
-                ref Minor,
-                ref Customization,
-                ref Build);
+                ref major,
+                ref minor,
+                ref customization,
+                ref build);
 
-            this._APIVersion = new versiontype(Major, Minor, Customization, Build);
+            this._apiversion = new versiontype(major, minor, customization, build);
 
         }
         private string GrannyGetVersionString()
@@ -130,16 +130,16 @@
         #endregion
 
         #region IGranny2APIVersion Members
-        private bool _APIVersionsMatch = false;
+        private bool _apiversionsmatch = false;
         /// <summary>
         /// Indicates that the Loaded Granny2 API Version matches the version that the core library was built against
         /// </summary>
-        public bool apiversionsmatch { get { return _APIVersionsMatch; } }
-        private versiontype _APIVersion;
+        public bool apiversionsmatch { get { return _apiversionsmatch; } }
+        private versiontype _apiversion;
         /// <summary>
         /// Gets the Loaded Granny2 API Version
         /// </summary>
-        public versiontype apiversion { get { return _APIVersion; } }
+        public versiontype apiversion { get { return _apiversion; } }
         /// <summary>
         /// Gets the Expected Granny2 API Version
         /// </summary>

 

  ViewVC Help
Powered by ViewVC 1.1.22