common/scim-bridge-display.h

Go to the documentation of this file.
00001 /*
00002  * SCIM Bridge
00003  *
00004  * Copyright (c) 2006 Ryo Dairiki <ryo-dairiki@users.sourceforge.net>
00005  *
00006  *
00007  * This library is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public
00009  * License as published by the Free Software Foundation; either
00010  * version 2 of the License, or (at your option) any later version.*
00011  * This library 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 Lesser General Public License for more details.*
00015  * You should have received a copy of the GNU Lesser General Public
00016  * License along with this program; if not, write to the
00017  * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
00018  * Boston, MA  02111-1307  USA
00019  */
00020 
00026 #ifndef SCIMBRIDGEDISPLAY_H_
00027 #define SCIMBRIDGEDISPLAY_H_
00028 
00029 #include "scim-bridge.h"
00030 
00034 typedef struct _ScimBridgeDisplay ScimBridgeDisplay;
00035 
00036 #ifdef __cplusplus
00037 extern "C"
00038 {
00039 #endif
00040 
00046     ScimBridgeDisplay *scim_bridge_alloc_display ();
00047 
00053     void scim_bridge_free_display (ScimBridgeDisplay *display);
00054 
00061     void scim_bridge_copy_display (ScimBridgeDisplay *dst, const ScimBridgeDisplay *src);
00062 
00070     boolean scim_bridge_display_equals (const ScimBridgeDisplay *dst, const ScimBridgeDisplay *src);
00071 
00077     retval_t scim_bridge_display_fetch_current (ScimBridgeDisplay *display);
00078 
00087     const char *scim_bridge_display_get_name (const ScimBridgeDisplay *display);
00088 
00095     void scim_bridge_display_set_name (ScimBridgeDisplay *display, const char *display_name);
00096 
00105     int scim_bridge_display_get_display_number (const ScimBridgeDisplay *display);
00106 
00113     void scim_bridge_display_set_display_number (ScimBridgeDisplay *display, int display_number);
00114 
00123     int scim_bridge_display_get_screen_number (const ScimBridgeDisplay *display);
00124 
00131     void scim_bridge_display_set_screen_number (ScimBridgeDisplay *display, int screen_number);
00132 
00133 #ifdef __cplusplus
00134 }
00135 #endif
00136 #endif                                            /*SCIMBRIDGEDISPLAY_H_*/

Generated on Tue Sep 26 21:55:59 2006 for ScimBridge by  doxygen 1.4.6