1
/* Copyright (C) 2010~2010 by CSSlayer
4
This program is free software: you can redistribute it and/or modify
5
it under the terms of the GNU General Public License as published by
6
the Free Software Foundation; either version 3 of the License, or
7
(at your option) any later version.
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
14
You should have received a copy of the GNU General Public License
15
along with this program. If not, see <http://www.gnu.org/licenses/>. */
1
/***************************************************************************
2
* Copyright (C) 2010~2010 by CSSlayer *
5
* This program is free software; you can redistribute it and/or modify *
6
* it under the terms of the GNU General Public License as published by *
7
* the Free Software Foundation; either version 2 of the License, or *
8
* (at your option) any later version. *
10
* This program is distributed in the hope that it will be useful, *
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13
* GNU General Public License for more details. *
15
* You should have received a copy of the GNU General Public License *
16
* along with this program; if not, write to the *
17
* Free Software Foundation, Inc., *
18
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19
***************************************************************************/
17
21
#include <ime-core/imi_view.h>
22
#include <fcitx/ime.h>
23
#include <fcitx/instance.h>
25
struct FcitxSunpinyin;
21
26
class FcitxWindowHandler : public CIMIWinHandler
26
31
//virtual void updateStatus(int key, int value);
27
32
virtual void commit(const TWCHAR* str);
29
void set_eim(EXTRA_IM* eim_) {
34
void SetOwner(FcitxSunpinyin* owner_) {
34
39
bool candidate_flag ;
38
TWCHAR front_src[BUF_SIZE];
39
TWCHAR end_src[BUF_SIZE];
42
FcitxSunpinyin* owner;
44
// kate: indent-mode cstyle; space-indent on; indent-width 0;