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

« back to all changes in this revision

Viewing changes to extras/immodules/agent/scim-bridge-agent-accept-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 ScimBridgeAgentAcceptListener.
 
24
 */
 
25
 
 
26
#ifndef SCIMBRIDGEAGENTACCEPTLISTENER_H_
 
27
#define SCIMBRIDGEAGENTACCEPTLISTENER_H_
 
28
 
 
29
#include "scim-bridge.h"
 
30
 
 
31
#include "scim-bridge-agent-panel-listener.h"
 
32
#include "scim-bridge-agent-socket-client.h"
 
33
 
 
34
class ScimBridgeAgentProtected;
 
35
 
 
36
/**
 
37
 * The class of accept listeners, which listen to accept event of clients.
 
38
 */
 
39
class ScimBridgeAgentAcceptListener: public ScimBridgeAgentSocketClient
 
40
{
 
41
 
 
42
    public:
 
43
 
 
44
        /**
 
45
         * Allocate an accept listener.
 
46
         *
 
47
         * @param agent The agent.
 
48
         * @return A new accept listener, or NULL if it failed to initialize the one.
 
49
         */
 
50
        static ScimBridgeAgentAcceptListener *alloc (ScimBridgeAgentProtected *agent);
 
51
 
 
52
        /**
 
53
         * Destructor.
 
54
         */
 
55
        virtual ~ScimBridgeAgentAcceptListener () {}
 
56
 
 
57
 
 
58
    protected:
 
59
 
 
60
        /**
 
61
         * Constructor.
 
62
         */
 
63
        ScimBridgeAgentAcceptListener () {}
 
64
 
 
65
};
 
66
#endif                                            /*SCIMBRIDGEAGENTACCEPTLISTENER_H_*/