notepad_display_sched.h

Go to the documentation of this file.
00001 #ifndef __NOTEPAD_DISPLAY_SCHED_H__
00002 #define __NOTEPAD_DISPLAY_SCHED_H__
00003 
00004 /**
00005  * File Name  : notepad-display-sched.h
00006  *
00007  * Description: Functions to trigger display updates on an e-ink device
00008  */
00009 
00010 /*
00011  * This file is part of notepad
00012  *
00013  * notepad is free software: you can redistribute it and/or modify
00014  * it under the terms of the GNU General Public License as published by
00015  * the Free Software Foundation, either version 2 of the License, or
00016  * (at your option) any later version.
00017  *
00018  * notepad is distributed in the hope that it will be useful,
00019  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00020  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00021  * GNU General Public License for more details.
00022  *
00023  * You should have received a copy of the GNU General Public License
00024  * along with this program. If not, see <http://www.gnu.org/licenses/>.
00025  */
00026 
00027 /**
00028  * Copyright (C) 2010 IREX Technologies B.V.
00029  * All rights reserved.
00030  */
00031 
00032 //----------------------------------------------------------------------------
00033 // Include Files
00034 //----------------------------------------------------------------------------
00035 
00036 #include <gtk/gtk.h>
00037 
00038 #include "liberutils/display_utils.h"
00039 
00040 
00041 G_BEGIN_DECLS
00042 
00043 //----------------------------------------------------------------------------
00044 // Macro Definitions
00045 //---------------------------------------------------------------------------- 
00046 
00047 
00048 //----------------------------------------------------------------------------
00049 // Forward Declarations
00050 //----------------------------------------------------------------------------
00051 
00052 
00053 //----------------------------------------------------------------------------
00054 // Type Declarations
00055 //----------------------------------------------------------------------------
00056 
00057 
00058 //----------------------------------------------------------------------------
00059 // Global Constants
00060 //----------------------------------------------------------------------------
00061 
00062 
00063 //============================================================================
00064 // Public Functions
00065 //============================================================================
00066 
00067 void notepad_stop_display_update(void);
00068 void notepad_start_display_update(void);
00069 
00070 gboolean notepad_display_update(gpointer data);
00071 void notepad_on_idle_display_update(gint type);
00072 void notepad_on_timeout_display_update(gint timeout, gint type);
00073 
00074 gboolean notepad_display_yield(gpointer data);
00075 void notepad_on_idle_display_yield(gint type);
00076 void notepad_on_timeout_display_yield(gint timeout, gint type);
00077 
00078 
00079 G_END_DECLS
00080 
00081 #endif
Generated by  doxygen 1.6.2-20100208