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

« back to all changes in this revision

Viewing changes to extras/immodules/common/scim-bridge-output.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 header is used for print out error messages.
 
24
 */
 
25
#ifndef SCIMBRIDGEOUTPUT_H_
 
26
#define SCIMBRIDGEOUTPUT_H_
 
27
 
 
28
#include "scim-bridge.h"
 
29
#include "scim-bridge-debug.h"
 
30
 
 
31
#ifdef __cplusplus
 
32
extern "C"
 
33
{
 
34
#endif
 
35
 
 
36
    /**
 
37
     * Print out a message and give a line feed ('\n').
 
38
     * The messages will be shown in the stdout.
 
39
     *
 
40
     * @param format The message in printf style.
 
41
     */
 
42
    void scim_bridge_println (const char *format,...);
 
43
 
 
44
    /**
 
45
     * Print out an error message and give a line feed ('\n').
 
46
     * The error messages will be shown in the stderr.
 
47
     *
 
48
     * @param format The message in printf style.
 
49
     */
 
50
    void scim_bridge_perrorln (const char *format,...);
 
51
 
 
52
    /**
 
53
     * Print out an debug message and give a line feed ('\n').
 
54
     * The error messages will be shown in the stdout.
 
55
     * Note, the message will be ignored if the given debug level is lower than that of the preference.
 
56
     * @ ee scim_bridge_debug_get_level ()
 
57
     *
 
58
     * @param level The debug level.
 
59
     * @param format The message in printf style.
 
60
     */
 
61
    void scim_bridge_pdebugln (scim_bridge_debug_level_t level, const char *format,...);
 
62
 
 
63
    /**
 
64
     * Print out a message without giving a line feed ('\n').
 
65
     * The messages will be shown in the stdout.
 
66
     *
 
67
     * @param format The message in printf style.
 
68
     */
 
69
    void scim_bridge_print (const char *format,...);
 
70
 
 
71
    /**
 
72
     * Print out an error message without giving a line feed ('\n').
 
73
     * The error messages will be shown in the stderr.
 
74
     *
 
75
     * @param format The message in printf style.
 
76
     */
 
77
    void scim_bridge_perror (const char *format,...);
 
78
 
 
79
    /**
 
80
     * Print out an debug message without giving a line feed ('\n').
 
81
     * The error messages will be shown in the stdout.
 
82
     * Note, the message will be ignored if the given debug level is lower than that of the preference.
 
83
     * @ ee scim_bridge_debug_get_level ()
 
84
     *
 
85
     * @param level The debug level.
 
86
     * @param format The message in printf style.
 
87
     */
 
88
    void scim_bridge_pdebug (scim_bridge_debug_level_t level, const char *format,...);
 
89
 
 
90
#ifdef __cplusplus
 
91
}
 
92
#endif
 
93
#endif                                            /*SCIMBRIDGEOUTPUT_H_*/