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

Annotation of /trunk/gr2lib_cpp/grannyfile.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9 - (hide annotations) (download)
Sat Jul 31 01:53:40 2010 UTC (10 years, 1 month ago) by william
File MIME type: text/plain
File size: 880 byte(s)
implement support for logging Granny2 API Messages

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     GrannyAPILogger* _logger;
26 william 5 public:
27     grannyfile(const char* filename);
28     grannyfile(const char* filename,granny_int32x ExpectedMajor, granny_int32x ExpectedMinor, granny_int32x ExpectedCustomization, granny_int32x ExpectedBuild);
29 william 7 gr2lib::core::apiversion::granny2apiversion* GrannyAPIVersion;
30    
31 william 5
32     granny_file* _grn_file;
33     const char* GrannyFilename();
34     granny_file_info* GrannyFileInfo;
35     };
36     }
37     }
38 william 7 #endif /* GRANNY_FILE_H */

  ViewVC Help
Powered by ViewVC 1.1.22