00001 /*************************************************************************** 00002 demoapp.h - description 00003 ------------------- 00004 begin : Thu May 22 2003 00005 copyright : (C) 2003 by Jacques Gasselin de Richebourg 00006 email : jacquesgasselin@hotmail.com 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU Lesser General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 * This library is distributed in the hope that it will be useful, * 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 00019 * Lesser General Public License for more details. * 00020 * * 00021 * You should have received a copy of the GNU Lesser General Public * 00022 * License along with this library; if not, write to the Free Software * 00023 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * 00024 * * 00025 ***************************************************************************/ 00026 00027 #ifndef DEMOAPP_H 00028 #define DEMOAPP_H 00029 00030 #include "glutapplication.h" 00031 #include "demowindow.h" 00032 00037 class DemoApp : public GlutApplication 00038 { 00039 RCPointer<DemoWindow> newWindow; 00040 public: 00041 DemoApp(int argc, char* argv[]); 00042 virtual ~DemoApp(); 00043 00044 virtual void idle(); 00045 00046 }; 00047 00048 #endif