ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/gr2lib/trunk/gr2lib/core/coreclasses/apiversion/granny2apiversion.cs
(Generate patch)

Comparing trunk/gr2lib/core/coreclasses/apiversion/granny2apiversion.cs (file contents):
Revision 44 by william, Thu Jul 15 04:37:01 2010 UTC vs.
Revision 45 by william, Thu Jul 15 04:40:28 2010 UTC

# Line 71 | Line 71 | namespace gr2lib.core.apiversion
71      #endregion
72  
73      #region public class Granny2APIVersion
74 <    public interface Igranny2apiversion
74 >    public interface igranny2apiversion
75      {
76          bool apiversionsmatch { get; }
77          versiontype apiversion { get; }
# Line 80 | Line 80 | namespace gr2lib.core.apiversion
80      /// <summary>
81      /// Handle's the checking of the Loaded Granny2 API Version
82      /// </summary>
83 <    public class granny2apiversion : Igranny2apiversion
83 >    public class granny2apiversion : igranny2apiversion
84      {
85          public granny2apiversion()
86          {
87 <            this._APIVersion = new versiontype();
88 <            this._APIVersionsMatch = this.GrannyVersionsMatch();
87 >            this._apiversion = new versiontype();
88 >            this._apiversionsmatch = this.GrannyVersionsMatch();
89              this.GetGrannyVersion();
90          }  
91          #region APIVersion Support
# Line 109 | Line 109 | namespace gr2lib.core.apiversion
109          }
110          private void GetGrannyVersion()
111          {
112 <            granny_int32x Major = 0;
113 <            granny_int32x Minor = 0;
114 <            granny_int32x Customization = 0;
115 <            granny_int32x Build = 0;
112 >            granny_int32x major = 0;
113 >            granny_int32x minor = 0;
114 >            granny_int32x customization = 0;
115 >            granny_int32x build = 0;
116  
117              gr2lib.core.coreapi.GrannyGetVersion(
118 <                ref Major,
119 <                ref Minor,
120 <                ref Customization,
121 <                ref Build);
118 >                ref major,
119 >                ref minor,
120 >                ref customization,
121 >                ref build);
122  
123 <            this._APIVersion = new versiontype(Major, Minor, Customization, Build);
123 >            this._apiversion = new versiontype(major, minor, customization, build);
124  
125          }
126          private string GrannyGetVersionString()
# Line 130 | Line 130 | namespace gr2lib.core.apiversion
130          #endregion
131  
132          #region IGranny2APIVersion Members
133 <        private bool _APIVersionsMatch = false;
133 >        private bool _apiversionsmatch = false;
134          /// <summary>
135          /// Indicates that the Loaded Granny2 API Version matches the version that the core library was built against
136          /// </summary>
137 <        public bool apiversionsmatch { get { return _APIVersionsMatch; } }
138 <        private versiontype _APIVersion;
137 >        public bool apiversionsmatch { get { return _apiversionsmatch; } }
138 >        private versiontype _apiversion;
139          /// <summary>
140          /// Gets the Loaded Granny2 API Version
141          /// </summary>
142 <        public versiontype apiversion { get { return _APIVersion; } }
142 >        public versiontype apiversion { get { return _apiversion; } }
143          /// <summary>
144          /// Gets the Expected Granny2 API Version
145          /// </summary>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines