Changeset 5600 for anuga_work/development/anugavis/src/anugavis.hh
- Timestamp:
- Aug 4, 2008, 10:21:33 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/development/anugavis/src/anugavis.hh
r5598 r5600 6 6 #include <list> 7 7 #include <string> 8 #include <boost/shared_ptr.hpp> 8 9 #include <SDL.h> 9 10 #include "height_quantity.hh" 10 11 #include "sww_file.hh" 11 12 13 using boost::shared_ptr; 12 14 using std::list; 13 15 using std::string; … … 17 19 AnugaVis(const string &sww_file, int width, int height); 18 20 ~AnugaVis(void); 19 void add_HeightQuantity( HeightQuantity&height);21 void add_HeightQuantity(shared_ptr<HeightQuantity> &height); 20 22 void run(void); 21 23 private: … … 23 25 void init_OpenGL(int width, int height); 24 26 SDL_Surface *screen; 25 SWWFilesww_file;26 list< HeightQuantity> heights;27 shared_ptr<SWWFile> sww_file; 28 list<shared_ptr<HeightQuantity> > heights; 27 29 }; 28 30
Note: See TracChangeset
for help on using the changeset viewer.