public.h
来自「嵌入式Linux上的拼音输入法」· C头文件 代码 · 共 38 行
H
38 行
/**********************************************************************
** Copyright (C) 2004 MurphyTalk
**
** This file is part of the MurphyTalk PinYin Chinese input method,
** which is for the Qtopia Environment.
**
** This file may be distributed and/or modified under the terms of the
** GNU General Public License version 2 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file.
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
**
** murphytalk@gmail.com
** $Date: 2004/07/26 18:18:26 $
**
**********************************************************************/
#ifndef PUBLIC_H
#define PUBLIC_H
#include <string>
#ifdef X86
#define printX86(fmt,args...) printf(fmt,## args)
#else
#define printX86(fmt,args...)
#endif
std::string trim(std::string &str, char ch = ' ');
#define VERSION "0.03"
#define FILE_VERSION "0.03"
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?