source: trunk/packages/vizservers/nanovis/ParticleSystemFactory.h @ 2096

Last change on this file since 2096 was 2096, checked in by ldelgass, 13 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
10class ParticleSystem;
11
12class ParticleSystemFactory {
13        ParticleSystem* _newParticleSystem;
14public :
15        ParticleSystemFactory();
16        ~ParticleSystemFactory();
17
18private :
19        void parseParticleSysInfo(const char** attrs);
20        void parseEmitterInfo(const char**attrs);
21
22private :
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
27public :
28        ParticleSystem* create(const std::string& fileName);
29       
30};
Note: See TracBrowser for help on using the repository browser.