Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

page.h

Go to the documentation of this file.
00001 /*
00002 * page.h Notebook Page Base Object
00003 * Copyright (C) 2001 Charles Yates <charles.yates@pandora.be>
00004 * Copyright (C) 2001-2007 Dan Dennedy <dan@dennedy.org>
00005 *
00006 * This program is free software; you can redistribute it and/or modify
00007 * it under the terms of the GNU General Public License as published by
00008 * the Free Software Foundation; either version 2 of the License, or
00009 * (at your option) any later version.
00010 *
00011 * This program is distributed in the hope that it will be useful,
00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014 * GNU General Public License for more details.
00015 *
00016 * You should have received a copy of the GNU General Public License
00017 * along with this program; if not, write to the Free Software Foundation,
00018 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00019 */
00020 
00021 #ifndef _PAGE_H
00022 #define _PAGE_H
00023 
00024 #include <gdk/gdk.h>
00025 #include <gtk/gtk.h>
00026 
00027 extern "C"
00028 {
00029 #include "support.h"
00030 }
00031 
00037 class Page
00038 {
00039 public:
00040     virtual ~Page()
00041     { }
00042     virtual gulong activate()
00043     {
00044         return 0;
00045     }
00046     virtual gulong deactivate()
00047     {
00048         return 0;
00049     }
00050     virtual void newFile()
00051     { }
00052     virtual void start()
00053     { }
00054     virtual void clean()
00055     { }
00056     virtual gboolean processKeyboard( GdkEventKey *event )
00057     {
00058         return FALSE;
00059     }
00060     virtual gboolean processCommand( char *command )
00061     {
00062         return FALSE;
00063     }
00064     virtual void selectScene( int i )
00065     { }
00066     virtual void videoStartOfMovie()
00067     { }
00068     virtual void videoPreviousScene()
00069     { }
00070     virtual void videoStartOfScene()
00071     { }
00072     virtual void videoRewind()
00073     { }
00074     virtual void videoBack(int step = -1)
00075     { }
00076     virtual void videoPlay()
00077     { }
00078     virtual void videoForward(int step = 1)
00079     { }
00080     virtual void videoFastForward()
00081     { }
00082     virtual void videoNextScene()
00083     { }
00084     virtual void videoEndOfScene()
00085     { }
00086     virtual void videoEndOfMovie()
00087     { }
00088     virtual void videoPause()
00089     { }
00090     virtual void videoStop()
00091     { }
00092     virtual void videoShuttle( int )
00093     { }
00094     virtual void movedToFrame( int frame )
00095     { }
00096     virtual void windowMoved()
00097     { }
00098     virtual void visibilityChanged( gboolean visible )
00099     { }
00100     virtual void showFrameInfo( int )
00101     {}
00102     virtual void saveFrame()
00103     {}
00104     virtual void timeFormatChanged()
00105     {}
00106     virtual std::string getHelpPage()
00107     {
00108         return "index";
00109     }
00110 }
00111 ;
00112 
00113 #endif

Generated on Sun Mar 11 22:11:46 2007 for Kino by  doxygen 1.4.2