SCIMBridge 0.4.x

agent/scim-bridge-agent.h

Go to the documentation of this file.
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 
00037 #ifndef SCIMBRIDGEAGENT_H_
00038 #define SCIMBRIDGEAGENT_H_
00039 
00040 #include "scim-bridge.h"
00041 
00045 class ScimBridgeAgent
00046 {
00047 
00048     public:
00049 
00055         static ScimBridgeAgent *alloc ();
00056 
00060         virtual ~ScimBridgeAgent () {}
00061 
00067         virtual void set_noexit_enabled (bool enabled) = 0;
00068 
00074         virtual void set_standalone_enabled (bool enabled) = 0;
00075 
00080         virtual retval_t launch () = 0;
00081 
00082     protected:
00083 
00087         ScimBridgeAgent () {}
00088 
00089 };
00090 #endif                                            /*SCIMBRIDGEAGENT_H_*/