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

Contents of /trunk/gr2lib_cpp/grannyfile.h

Parent Directory Parent Directory | Revision Log Revision Log


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

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

1 #pragma once
2 #ifndef GRANNY_FILE_H
3 #define GRANNY_FILE_H
4 #include "granny.h"
5 #include "apiversion.h"
6 #include <stdio.h>
7 #include <iostream>
8 #include <stdlib.h>
9 #include <assert.h>
10 #include <string>
11 #include <sstream>
12 using namespace std;
13
14
15 namespace gr2lib
16 {
17 namespace core
18 {
19 class grannyfile
20 {
21 private:
22 const char* _GrannyFilename;
23 void parse_granny_file();
24 public:
25 grannyfile(const char* filename);
26 grannyfile(const char* filename,granny_int32x ExpectedMajor, granny_int32x ExpectedMinor, granny_int32x ExpectedCustomization, granny_int32x ExpectedBuild);
27 gr2lib::core::apiversion::granny2apiversion* GrannyAPIVersion;
28
29
30 granny_file* _grn_file;
31 const char* GrannyFilename();
32 granny_file_info* GrannyFileInfo;
33 };
34 }
35 }
36 #endif /* GRANNY_FILE_H */

  ViewVC Help
Powered by ViewVC 1.1.22