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

Annotation of /trunk/gr2lib_cpp/grannyfile.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12 - (hide annotations) (download)
Sat Jul 31 09:33:11 2010 UTC (10 years, 3 months ago) by william
File MIME type: text/plain
File size: 907 byte(s)
Added support to write Granny2 Log out to a file, as well as fully implement the logging callback

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

  ViewVC Help
Powered by ViewVC 1.1.22