Last change
on this file since 2825 was
2818,
checked in by ldelgass, 13 years ago
|
Fix spelling of some identifiers, formatting fixes
|
-
Property svn:eol-style set to
native
|
File size:
725 bytes
|
Line | |
---|
1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
---|
2 | #ifndef PARTICLESYSTEMFACTORY_H |
---|
3 | #define PARTICLESYSTEMFACTORY_H |
---|
4 | |
---|
5 | #include <string> |
---|
6 | |
---|
7 | #include <expat.h> |
---|
8 | |
---|
9 | class ParticleSystem; |
---|
10 | |
---|
11 | class ParticleSystemFactory |
---|
12 | { |
---|
13 | ParticleSystem *_newParticleSystem; |
---|
14 | public: |
---|
15 | ParticleSystemFactory(); |
---|
16 | ~ParticleSystemFactory(); |
---|
17 | |
---|
18 | ParticleSystem *create(const std::string& fileName); |
---|
19 | |
---|
20 | private: |
---|
21 | void parseParticleSysInfo(const char **attrs); |
---|
22 | void parseEmitterInfo(const char **attrs); |
---|
23 | |
---|
24 | static void endElement(void *userData, const char *name); |
---|
25 | static void startElement(void *userData, const char *elementName, const char **attrs); |
---|
26 | static void text(void *data, const XML_Char *txt, int len); |
---|
27 | }; |
---|
28 | |
---|
29 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.