projects
/
platform
/
core
/
uifw
/
ise-engine-sunpinyin.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Tizen 2.1 base
[platform/core/uifw/ise-engine-sunpinyin.git]
/
wrapper
/
ibus
/
src
/
debug.h
1
#ifndef SUNPINYIN_DEBUG_H
2
#define SUNPINYIN_DEBUG_H
3
4
#include <iostream>
5
#include <iomanip>
6
#include <fstream>
7
#include <cerrno>
8
9
namespace ibus
10
{
11
extern std::fstream log;
12
}
13
14
using std::cout;
15
using std::hex;
16
using std::endl;
17
18
#define PRINT_VAL(val) \
19
do { \
20
cout << " "#val" = " << val << endl; \
21
} while (0)
22
23
#endif // SUNPINYIN_DEBUG_H