Last change
on this file since 2376 was
2096,
checked in by ldelgass, 14 years ago
|
Normalize line endings, set eol-style to native on *.cpp, *.h files
|
-
Property svn:eol-style set to
native
|
File size:
646 bytes
|
Line | |
---|
1 | #pragma once |
---|
2 | |
---|
3 | #include <string> |
---|
4 | #ifdef _WIN32 |
---|
5 | #include <expat/expat.h> |
---|
6 | #else |
---|
7 | #include <expat.h> |
---|
8 | #endif |
---|
9 | |
---|
10 | class ParticleSystem; |
---|
11 | |
---|
12 | class ParticleSystemFactory { |
---|
13 | ParticleSystem* _newParticleSystem; |
---|
14 | public : |
---|
15 | ParticleSystemFactory(); |
---|
16 | ~ParticleSystemFactory(); |
---|
17 | |
---|
18 | private : |
---|
19 | void parseParticleSysInfo(const char** attrs); |
---|
20 | void parseEmitterInfo(const char**attrs); |
---|
21 | |
---|
22 | private : |
---|
23 | static void endElement(void *userData, const char *name); |
---|
24 | static void startElement(void *userData, const char *elementName, const char **attrs); |
---|
25 | static void text(void *data, const XML_Char *txt, int len); |
---|
26 | |
---|
27 | public : |
---|
28 | ParticleSystem* create(const std::string& fileName); |
---|
29 | |
---|
30 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.