00001 /* 00002 * AT-SPI - Assistive Technology Service Provider Interface 00003 * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) 00004 * 00005 * Copyright 2001 Sun Microsystems Inc. 00006 * 00007 * This library is free software; you can redistribute it and/or 00008 * modify it under the terms of the GNU Library 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 * 00012 * This library is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 * Library General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU Library General Public 00018 * License along with this library; if not, write to the 00019 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00020 * Boston, MA 02111-1307, USA. 00021 */ 00022 00023 #include <Bonobo_Unknown.idl> 00024 00025 #ifndef _ACCESSIBILITY_LOGIN_HELPER_IDL_ 00026 #define _ACCESSIBILITY_LOGIN_HELPER_IDL_ 00027 00028 module Accessibility { 00029 00068 interface LoginHelper : Bonobo::Unknown { 00069 00076 struct WindowInfo { 00077 /* string display; */ 00078 /* short screen; */ 00079 long winID; 00080 }; 00081 00082 typedef sequence<WindowInfo> WindowList; 00083 00084 /* 00085 * DeviceReq: 00086 * 00087 * The system and device access and services which the LoginHelper-implementing 00088 * assistive technology requires in order to enable the user to use the system. 00089 * 00090 */ 00091 enum DeviceReq { 00092 GUI_EVENTS, 00093 CORE_KEYBOARD, 00094 CORE_POINTER, 00095 EXT_INPUT, 00096 POST_WINDOWS, 00097 AUDIO_OUT, 00098 AUDIO_IN, 00099 NETWORK, 00100 LOCALHOST, 00101 SERIAL_OUT, 00102 SERIAL_IN 00103 }; 00104 00105 typedef sequence<DeviceReq> DeviceReqList; 00106 00124 boolean setSafe (in boolean safe_mode); 00125 00139 DeviceReqList getDeviceReqs (); 00140 00151 WindowList getRaiseWindows (); 00152 00159 void unImplemented (); 00160 void unImplemented2 (); 00161 void unImplemented3 (); 00162 void unImplemented4 (); 00164 }; 00165 00166 }; 00167 00168 #endif