4
* Copyright (c) 2006 Ryo Dairiki <ryo-dairiki@users.sourceforge.net>
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.
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.
22
* @author Ryo Dairiki <ryo-dairiki@users.sourceforge.net>
23
* @brief This is the header file for ScimBridgeAgentAcceptListener.
26
#ifndef SCIMBRIDGEAGENTACCEPTLISTENER_H_
27
#define SCIMBRIDGEAGENTACCEPTLISTENER_H_
29
#include "scim-bridge.h"
31
#include "scim-bridge-agent-panel-listener.h"
32
#include "scim-bridge-agent-socket-client.h"
34
class ScimBridgeAgentProtected;
37
* The class of accept listeners, which listen to accept event of clients.
39
class ScimBridgeAgentAcceptListener: public ScimBridgeAgentSocketClient
45
* Allocate an accept listener.
47
* @param agent The agent.
48
* @return A new accept listener, or NULL if it failed to initialize the one.
50
static ScimBridgeAgentAcceptListener *alloc (ScimBridgeAgentProtected *agent);
55
virtual ~ScimBridgeAgentAcceptListener () {}
63
ScimBridgeAgentAcceptListener () {}
66
#endif /*SCIMBRIDGEAGENTACCEPTLISTENER_H_*/