SCIMBridge  0.4.x
scim-bridge-display.h
Go to the documentation of this file.
1 /*
2  * SCIM Bridge
3  *
4  * Copyright (c) 2006 Ryo Dairiki <ryo-dairiki@users.sourceforge.net>
5  *
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation and
10  * appearing in the file LICENSE.LGPL included in the package of this file.
11  * You can also redistribute it and/or modify it under the terms of
12  * the GNU General Public License as published by the Free Software Foundation and
13  * appearing in the file LICENSE.GPL included in the package of this file.
14  *
15  * This library is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18  */
19 
25 #ifndef SCIMBRIDGEDISPLAY_H_
26 #define SCIMBRIDGEDISPLAY_H_
27 
28 #include "scim-bridge.h"
29 
34 
35 #ifdef __cplusplus
36 extern "C"
37 {
38 #endif
39 
45  ScimBridgeDisplay *scim_bridge_alloc_display ();
46 
52  void scim_bridge_free_display (ScimBridgeDisplay *display);
53 
60  void scim_bridge_copy_display (ScimBridgeDisplay *dst, const ScimBridgeDisplay *src);
61 
69  boolean scim_bridge_display_equals (const ScimBridgeDisplay *dst, const ScimBridgeDisplay *src);
70 
76  retval_t scim_bridge_display_fetch_current (ScimBridgeDisplay *display);
77 
86  const char *scim_bridge_display_get_name (const ScimBridgeDisplay *display);
87 
94  void scim_bridge_display_set_name (ScimBridgeDisplay *display, const char *display_name);
95 
104  int scim_bridge_display_get_display_number (const ScimBridgeDisplay *display);
105 
112  void scim_bridge_display_set_display_number (ScimBridgeDisplay *display, int display_number);
113 
122  int scim_bridge_display_get_screen_number (const ScimBridgeDisplay *display);
123 
130  void scim_bridge_display_set_screen_number (ScimBridgeDisplay *display, int screen_number);
131 
132 #ifdef __cplusplus
133 }
134 #endif
135 #endif /*SCIMBRIDGEDISPLAY_H_*/