Last change
on this file since 2798 was
2798,
checked in by ldelgass, 13 years ago
|
Add emacs mode magic line in preparation for indentation cleanup
|
-
Property svn:eol-style set to
native
|
File size:
712 bytes
|
Line | |
---|
1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
---|
2 | #pragma once |
---|
3 | |
---|
4 | #include <string> |
---|
5 | #ifdef _WIN32 |
---|
6 | #include <expat/expat.h> |
---|
7 | #else |
---|
8 | #include <expat.h> |
---|
9 | #endif |
---|
10 | |
---|
11 | class ParticleSystem; |
---|
12 | |
---|
13 | class ParticleSystemFactory { |
---|
14 | ParticleSystem* _newParticleSystem; |
---|
15 | public : |
---|
16 | ParticleSystemFactory(); |
---|
17 | ~ParticleSystemFactory(); |
---|
18 | |
---|
19 | private : |
---|
20 | void parseParticleSysInfo(const char** attrs); |
---|
21 | void parseEmitterInfo(const char**attrs); |
---|
22 | |
---|
23 | private : |
---|
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 | public : |
---|
29 | ParticleSystem* create(const std::string& fileName); |
---|
30 | |
---|
31 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.