/[Sims3RigEditor]/trunk/gr2lib_cpp/apiversion.h
ViewVC logotype

Annotation of /trunk/gr2lib_cpp/apiversion.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4 - (hide annotations) (download)
Thu Jul 29 14:46:07 2010 UTC (10 years, 2 months ago) by william
File MIME type: text/plain
File size: 922 byte(s)
initial commit

1 william 4 #pragma once
2     #include "granny.h"
3     #include <string>
4     using namespace std;
5     namespace gr2lib
6     {
7     namespace core
8     {
9     namespace apiversion
10     {
11     class granny2apiversion
12     {
13     private:
14     const static granny_int32x GRNProductMajorVersion = 2;
15     const static granny_int32x GRNProductMinorVersion = 7;
16     const static granny_int32x GRNProductCustomization = 0;
17     const static granny_int32x GRNProductBuildNumber = 30;
18     public:
19     granny_int32x ExpectedMajor, ExpectedMinor, ExpectedCustomization, ExpectedBuild;
20     granny_int32x LoadedMajor, LoadedMinor, LoadedCustomization, LoadedBuild;
21    
22     granny2apiversion(void);
23     granny2apiversion(granny_int32x Major, granny_int32x Minor, granny_int32x Customization, granny_int32x Build);
24     ~granny2apiversion(void);
25    
26     string ExpectedAPIVersion();
27     string LoadedAPIVersion();
28     bool APIVersionsMatch();
29    
30     };
31     }
32     }
33     }

  ViewVC Help
Powered by ViewVC 1.1.22