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

Annotation of /trunk/gr2lib_cpp/apiversion.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7 - (hide annotations) (download)
Sat Jul 31 01:44:00 2010 UTC (10 years, 2 months ago) by william
File MIME type: text/plain
File size: 1101 byte(s)
commit - header redesign -- actually compiles now.

** Have some issues with loading for granny files, will fix in subsequent commits...

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

  ViewVC Help
Powered by ViewVC 1.1.22