usata-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Usata-commits] Changes to usata2/src/usata.hpp


From: David Lau
Subject: [Usata-commits] Changes to usata2/src/usata.hpp
Date: Tue, 25 Jan 2005 03:28:30 -0500

Index: usata2/src/usata.hpp
diff -u usata2/src/usata.hpp:1.11 usata2/src/usata.hpp:1.12
--- usata2/src/usata.hpp:1.11   Wed Jan 19 06:28:47 2005
+++ usata2/src/usata.hpp        Tue Jan 25 08:28:27 2005
@@ -10,7 +10,7 @@
 // included in the software distribution, or visit
 // http://www.fsf.org/licenses/gpl.html.
 //
-// $Id: usata.hpp,v 1.11 2005/01/19 06:28:47 skunix Exp $
+// $Id: usata.hpp,v 1.12 2005/01/25 08:28:27 skunix Exp $
 
 #ifndef USATA_USATA_HPP
 #define USATA_USATA_HPP
@@ -23,14 +23,21 @@
        class TextureMapManager;
        class Object;
        class SceneManager;
+       
+       namespace input
+       { 
+               class Manager;
+       }       
 
        class Usata
        {
        private:
                void setup_video();
-               std::auto_ptr<TextureMapManager>          image_manager;
-               std::auto_ptr<SceneManager> scene_manager;
+               std::auto_ptr<TextureMapManager>        image_manager;
+               std::auto_ptr<SceneManager>                     scene_manager;
+               std::auto_ptr<input::Manager>           input_manager;
                bool quit;
+               void on_quit(){ quit=true;}
        public:
                Usata();
                ~Usata();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]