~ubuntu-branches/ubuntu/wily/scim/wily-proposed

« back to all changes in this revision

Viewing changes to extras/immodules/agent/scim-bridge-agent-signal-listener.h

  • Committer: Package Import Robot
  • Author(s): Rolf Leggewie, Rolf Leggewie, Tz-Huan Huang
  • Date: 2012-06-30 11:21:42 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20120630112142-a4cwzsr16dty8dk7
Tags: 1.4.14-1
[ Rolf Leggewie ]
* new upstream release 1.4.14
  - drop 32_scim-1.4.8-fix-dlopen.patch which has landed upstream
* bump compat level to 9
* debian/control: add Toni Mueller as co-maintainer
  Welcome aboard!

[ Tz-Huan Huang ]
* start shipping a couple of newly introduced im-module packages
* debian/rules:
  - simplify dh_auto_install override where upstream changes allow this
  - drop -fpermissive from CXXFLAGS, fixed upstream
* debian/README.*: update the documentation

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
20
/**
 
21
 * @file
 
22
 * @author Ryo Dairiki <ryo-dairiki@users.sourceforge.net>
 
23
 * @brief This is the header file for ScimBridgeAgentSignalListener.
 
24
 */
 
25
 
 
26
#ifndef SCIMBRIDGEAGENTSIGNALLISTENER_H_
 
27
#define SCIMBRIDGEAGENTSIGNALLISTENER_H_
 
28
 
 
29
#include "scim-bridge.h"
 
30
#include "scim-bridge-agent-socket-client.h"
 
31
 
 
32
class ScimBridgeAgentProtected;
 
33
 
 
34
/**
 
35
 * The class of signal listeners, which listen to the signals and quit the agent properly.
 
36
 */
 
37
class ScimBridgeAgentSignalListener: public ScimBridgeAgentSocketClient
 
38
{
 
39
 
 
40
    public:
 
41
 
 
42
        /**
 
43
         * Allocate an signal listener. You cannot allocate more than one signal listener.
 
44
         *
 
45
         * @param agent The agent.
 
46
         * @return A new signal listener, or NULL if it failed to initialize it.
 
47
         */
 
48
        static ScimBridgeAgentSignalListener *alloc (ScimBridgeAgentProtected *agent);
 
49
 
 
50
 
 
51
        /**
 
52
         * Destructor.
 
53
         */
 
54
        virtual ~ScimBridgeAgentSignalListener () {}
 
55
 
 
56
 
 
57
    protected:
 
58
 
 
59
        /**
 
60
         * Constructor.
 
61
         */
 
62
        ScimBridgeAgentSignalListener () {}
 
63
 
 
64
};
 
65
#endif                                            /*SCIMBRIDGEAGENTSIGNALLISTENER_H_*/