00001 /*************************************************************************** 00002 * glPresent * 00003 * An OpenGL presentation manager * 00004 * Copyright (C) 2004 Joshua Wise <joshua@joshuawise.com>. * 00005 * * 00006 * This is my code. Don't use it without letting people have at least my * 00007 * source. Diffs against my source would be appreciated. Try not to remove * 00008 * my copyright notice from the startup message, or if you have to, I * 00009 * guess move it to the usage message. I won't sue you for copyright * 00010 * infringement if you stick to these guidelines. Thanks. * 00011 ***************************************************************************/ 00012 #ifndef TRANSITIONMANAGER_H 00013 #define TRANSITIONMANAGER_H 00014 00020 class TransitionManager{ 00021 public: 00022 TransitionManager(); 00023 00024 ~TransitionManager(); 00025 00026 int isIdle(); 00027 void start(); 00028 void done(); 00029 protected: 00030 int count; 00031 00032 }; 00033 00034 #endif