Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

scim_panel.h

Go to the documentation of this file.
00001 /** @file scim_panel.h
00002  */
00003 
00004 /* 
00005  * Smart Common Input Method
00006  * 
00007  * Copyright (c) 2002 James Su <suzhe@turbolinux.com.cn>
00008  *
00009  *
00010  * This library is free software; you can redistribute it and/or
00011  * modify it under the terms of the GNU Lesser General Public
00012  * License as published by the Free Software Foundation; either
00013  * version 2 of the License, or (at your option) any later version.
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.  See the
00018  * GNU Lesser General Public License for more details.
00019  *
00020  * You should have received a copy of the GNU Lesser General Public
00021  * License along with this program; if not, write to the
00022  * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
00023  * Boston, MA  02111-1307  USA
00024  *
00025  * $Id: scim_panel.h,v 1.1 2004/04/07 15:29:54 suzhe Exp $
00026  */
00027 
00028 #ifndef __SCIM_PANEL_H__
00029 #define __SCIM_PANEL_H__
00030 
00031 #define SCIM_PANEL_DEFAULT_SOCKET_ADDRESS "local:/tmp/scim-panel-socket"
00032 
00033 #define SCIM_CONFIG_PANEL_SOCKET_ADDRESS  "/Panel/SocketAddress"
00034 #define SCIM_CONFIG_PANEL_SOCKET_TIMEOUT  "/Panel/SocketTimeout"
00035 
00036 namespace scim {
00037 
00038 const int
00039     //Privately used by panel.
00040     SCIM_TRANS_CMD_PANEL_EXIT                  = SCIM_TRANS_CMD_USER_DEFINED + 0,
00041 
00042     //client -> panel
00043     SCIM_TRANS_CMD_PANEL_TURN_ON               = SCIM_TRANS_CMD_USER_DEFINED + 1,
00044     SCIM_TRANS_CMD_PANEL_TURN_OFF              = SCIM_TRANS_CMD_USER_DEFINED + 2,
00045     SCIM_TRANS_CMD_PANEL_UPDATE_DISPLAY        = SCIM_TRANS_CMD_USER_DEFINED + 3,
00046     SCIM_TRANS_CMD_PANEL_UPDATE_SCREEN         = SCIM_TRANS_CMD_USER_DEFINED + 4,
00047     SCIM_TRANS_CMD_PANEL_UPDATE_SPOT_LOCATION  = SCIM_TRANS_CMD_USER_DEFINED + 5,
00048     SCIM_TRANS_CMD_PANEL_UPDATE_SERVER_INFO    = SCIM_TRANS_CMD_USER_DEFINED + 6,
00049     SCIM_TRANS_CMD_PANEL_SHOW_HELP             = SCIM_TRANS_CMD_USER_DEFINED + 7,
00050     SCIM_TRANS_CMD_PANEL_SHOW_SERVER_MENU      = SCIM_TRANS_CMD_USER_DEFINED + 8,
00051 
00052     //panel -> client
00053     SCIM_TRANS_CMD_PANEL_REQUEST_HELP          = SCIM_TRANS_CMD_USER_DEFINED + 32,
00054     SCIM_TRANS_CMD_PANEL_REQUEST_SERVER_MENU   = SCIM_TRANS_CMD_USER_DEFINED + 33,
00055     SCIM_TRANS_CMD_PANEL_CHANGE_SERVER_FACTORY = SCIM_TRANS_CMD_USER_DEFINED + 34;
00056 
00057 } // namespace scim
00058 
00059 #endif
00060 
00061 /*
00062 vi:ts=4:nowrap:expandtab
00063 */

Generated on Fri May 7 17:27:25 2004 for scim by doxygen 1.3.6