sunpinyin2/wrapper/ibus/src/debug.h
author tchaikov
Fri, 13 Nov 2009 22:15:06 +0800
changeset 460 954a21b2c6cc
parent 383 586b50b608d4
child 478 fcd61036d354
permissions -rw-r--r--
* fix issue#46 - "unable to input after a fresh install": use open() instead of fopen() * kill compiler warnings * add error handling for open() failure
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
383
586b50b608d4 * add option event support
tchaikov
parents:
diff changeset
     1
#ifndef SUNPINYIN_DEBUG_H
586b50b608d4 * add option event support
tchaikov
parents:
diff changeset
     2
#define SUNPINYIN_DEBUG_H
586b50b608d4 * add option event support
tchaikov
parents:
diff changeset
     3
586b50b608d4 * add option event support
tchaikov
parents:
diff changeset
     4
#include <iostream>
586b50b608d4 * add option event support
tchaikov
parents:
diff changeset
     5
#include <iomanip>
586b50b608d4 * add option event support
tchaikov
parents:
diff changeset
     6
#include <fstream>
460
954a21b2c6cc * fix issue#46 - "unable to input after a fresh install": use open() instead of fopen()
tchaikov
parents: 383
diff changeset
     7
#include <cerrno>
383
586b50b608d4 * add option event support
tchaikov
parents:
diff changeset
     8
586b50b608d4 * add option event support
tchaikov
parents:
diff changeset
     9
namespace ibus
586b50b608d4 * add option event support
tchaikov
parents:
diff changeset
    10
{
586b50b608d4 * add option event support
tchaikov
parents:
diff changeset
    11
    extern std::fstream log;
586b50b608d4 * add option event support
tchaikov
parents:
diff changeset
    12
}
586b50b608d4 * add option event support
tchaikov
parents:
diff changeset
    13
586b50b608d4 * add option event support
tchaikov
parents:
diff changeset
    14
using std::hex;
586b50b608d4 * add option event support
tchaikov
parents:
diff changeset
    15
using std::endl;
586b50b608d4 * add option event support
tchaikov
parents:
diff changeset
    16
586b50b608d4 * add option event support
tchaikov
parents:
diff changeset
    17
#endif // SUNPINYIN_DEBUG_H