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

Contents of /trunk/gr2lib_cpp/apiversion.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 55 - (show annotations) (download)
Thu Aug 12 08:37:47 2010 UTC (9 years, 10 months ago) by william
File MIME type: text/plain
File size: 1123 byte(s)
Fix all, current, c++ compiler warnings and linker errors

1 #pragma once
2 #ifndef API_VERSION_H
3 #define API_VERSION_H
4 #include "..\granny_sdk\include\granny.h"
5 #include <stdio.h>
6 #include <iostream>
7 #include <stdlib.h>
8 #include <assert.h>
9 #include <string>
10 #include <sstream>
11 using namespace std;
12
13 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 #endif /* API_VERSION_H */

  ViewVC Help
Powered by ViewVC 1.1.22