00001 // execenv.h 00002 // 00003 // Copyright (C) 2001 Chris Laurel <claurel@shatters.net> 00004 // 00005 // This program is free software; you can redistribute it and/or 00006 // modify it under the terms of the GNU General Public License 00007 // as published by the Free Software Foundation; either version 2 00008 // of the License, or (at your option) any later version. 00009 00010 #ifndef _EXECENV_H_ 00011 #define _EXECENV_H_ 00012 00013 #include <string> 00014 #include <celengine/render.h> 00015 #include <celengine/simulation.h> 00016 00017 class CelestiaCore; 00018 00019 class ExecutionEnvironment 00020 { 00021 public: 00022 ExecutionEnvironment() {}; 00023 00024 virtual inline Simulation* getSimulation() const = 0; 00025 virtual inline Renderer* getRenderer() const = 0; 00026 virtual inline CelestiaCore* getCelestiaCore() const = 0; 00027 virtual void showText(std::string, int, int, int, int, double) = 0; 00028 }; 00029 00030 #endif // _EXECENV_H_ 00031
1.4.1