SCIMBridge
0.4.x
Main Page
Classes
Files
File List
File Members
agent
scim-bridge-agent-interruption-listener.h
Go to the documentation of this file.
1
/*
2
* SCIM Bridge
3
*
4
* Copyright (c) 2006 Ryo Dairiki <ryo-dairiki@users.sourceforge.net>
5
*
6
*
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.
14
*
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.
18
*/
19
26
#ifndef SCIMBRIDGEAGENTINTERRUPTIONLISTENER_H_
27
#define SCIMBRIDGEAGENTINTERRUPTIONLISTENER_H_
28
29
#include "
scim-bridge.h
"
30
#include "
scim-bridge-agent-socket-client.h
"
31
32
class
ScimBridgeAgentProtected
;
33
37
class
ScimBridgeAgentInterruptionListener
:
public
ScimBridgeAgentSocketClient
38
{
39
40
public
:
41
47
static
ScimBridgeAgentInterruptionListener
*
alloc
();
48
52
virtual
~ScimBridgeAgentInterruptionListener
() {}
53
59
virtual
bool
is_interrupted
()
const
= 0;
60
64
virtual
void
interrupt
() = 0;
65
69
virtual
void
clear_interruption
() = 0;
70
71
protected
:
72
76
ScimBridgeAgentInterruptionListener
() {}
77
78
};
79
#endif
/*SCIMBRIDGEAGENTINTERRUPTIONLISTENER_H_*/
Generated by
1.8.2