|
SCIMBridge 0.4.x
|
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 and 00010 * appearing in the file LICENSE.LGPL included in the package of this file. 00011 * You can also redistribute it and/or modify it under the terms of 00012 * the GNU General Public License as published by the Free Software Foundation and 00013 * appearing in the file LICENSE.GPL included in the package of this file. 00014 * 00015 * This library is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00018 */ 00019 00025 #ifndef SCIMBRIDGEDISPLAY_H_ 00026 #define SCIMBRIDGEDISPLAY_H_ 00027 00028 #include "scim-bridge.h" 00029 00033 typedef struct _ScimBridgeDisplay ScimBridgeDisplay; 00034 00035 #ifdef __cplusplus 00036 extern "C" 00037 { 00038 #endif 00039 00045 ScimBridgeDisplay *scim_bridge_alloc_display (); 00046 00052 void scim_bridge_free_display (ScimBridgeDisplay *display); 00053 00060 void scim_bridge_copy_display (ScimBridgeDisplay *dst, const ScimBridgeDisplay *src); 00061 00069 boolean scim_bridge_display_equals (const ScimBridgeDisplay *dst, const ScimBridgeDisplay *src); 00070 00076 retval_t scim_bridge_display_fetch_current (ScimBridgeDisplay *display); 00077 00086 const char *scim_bridge_display_get_name (const ScimBridgeDisplay *display); 00087 00094 void scim_bridge_display_set_name (ScimBridgeDisplay *display, const char *display_name); 00095 00104 int scim_bridge_display_get_display_number (const ScimBridgeDisplay *display); 00105 00112 void scim_bridge_display_set_display_number (ScimBridgeDisplay *display, int display_number); 00113 00122 int scim_bridge_display_get_screen_number (const ScimBridgeDisplay *display); 00123 00130 void scim_bridge_display_set_screen_number (ScimBridgeDisplay *display, int screen_number); 00131 00132 #ifdef __cplusplus 00133 } 00134 #endif 00135 #endif /*SCIMBRIDGEDISPLAY_H_*/
1.7.3