- Timestamp:
- Mar 7, 2012 7:37:12 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/nanovis/ParticleSystemFactory.h
r2803 r2817 1 1 /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ 2 #pragma once 2 #ifndef PARTICLESYSTEMFACTORY_H 3 #define PARTICLESYSTEMFACTORY_H 3 4 4 5 #include <string> 5 #ifdef _WIN32 6 #include <expat/expat.h> 7 #else 6 8 7 #include <expat.h> 9 #endif10 8 11 9 class ParticleSystem; … … 13 11 class ParticleSystemFactory 14 12 { 15 ParticleSystem *_newParticleSystem;13 ParticleSystem *_newParticleSystem; 16 14 public : 17 15 ParticleSystemFactory(); 18 16 ~ParticleSystemFactory(); 19 17 20 ParticleSystem *create(const std::string& fileName);18 ParticleSystem *create(const std::string& fileName); 21 19 22 20 private : 23 void parseParticleSysInfo(const char **attrs);24 void parseEmitterInfo(const char **attrs);21 void parseParticleSysInfo(const char **attrs); 22 void parseEmitterInfo(const char **attrs); 25 23 26 24 static void endElement(void *userData, const char *name); … … 28 26 static void text(void *data, const XML_Char *txt, int len); 29 27 }; 28 29 #endif
Note: See TracChangeset
for help on using the changeset viewer.