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

Contents of /trunk/gr2lib_cpp/grannyfile.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12 - (show annotations) (download)
Sat Jul 31 09:33:11 2010 UTC (10 years, 1 month 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 #pragma once
2 #ifndef GRANNY_FILE_H
3 #define GRANNY_FILE_H
4 #include "granny.h"
5 #include "apiversion.h"
6 #include "GrannyAPILogger.h"
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 namespace gr2lib
17 {
18 namespace core
19 {
20 class grannyfile
21 {
22 private:
23 const char* _GrannyFilename;
24 void parse_granny_file();
25
26 public:
27 GrannyAPILogger* _logger;
28 grannyfile(void);
29 grannyfile(const char* filename);
30 grannyfile(const char* filename,granny_int32x ExpectedMajor, granny_int32x ExpectedMinor, granny_int32x ExpectedCustomization, granny_int32x ExpectedBuild);
31 gr2lib::core::apiversion::granny2apiversion* GrannyAPIVersion;
32
33
34 granny_file* _grn_file;
35 const char* GrannyFilename();
36 granny_file_info* GrannyFileInfo;
37 };
38 }
39 }
40 #endif /* GRANNY_FILE_H */

  ViewVC Help
Powered by ViewVC 1.1.22