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 00038 #ifndef SCIMBRIDGEAGENT_H_ 00039 #define SCIMBRIDGEAGENT_H_ 00040 00041 #include "scim-bridge.h" 00042 00046 class ScimBridgeAgent 00047 { 00048 00049 public: 00050 00056 static ScimBridgeAgent *alloc (); 00057 00061 virtual ~ScimBridgeAgent () {} 00062 00068 virtual void set_noexit_enabled (bool enabled) = 0; 00069 00075 virtual void set_standalone_enabled (bool enabled) = 0; 00076 00081 virtual retval_t launch () = 0; 00082 00083 protected: 00084 00088 ScimBridgeAgent () {} 00089 00090 }; 00091 #endif /*SCIMBRIDGEAGENT_H_*/