~ubuntu-branches/ubuntu/trusty/fcitx/trusty

« back to all changes in this revision

Viewing changes to src/lib/fcitx/candidate.h

  • Committer: Package Import Robot
  • Author(s): Aron Xu
  • Date: 2012-05-12 01:37:19 UTC
  • mfrom: (10.1.19 sid)
  • Revision ID: package-import@ubuntu.com-20120512013719-qivlvp3gxi4l7z9j
Tags: 1:4.2.3-2
debian/patches/0004-upstream-post-release-changes.patch:
Add upstream fix for testpinyin, to avoid its segfaults.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/***************************************************************************
2
 
 *   Copyright (C) 2011~2011 by CSSlayer                                   *
 
2
 *   Copyright (C) 2011~2012 by CSSlayer                                   *
3
3
 *   wengxt@gmail.com                                                      *
4
4
 *                                                                         *
5
5
 *   This program is free software; you can redistribute it and/or modify  *
25
25
 
26
26
/**
27
27
 * @file candidate.h
28
 
 * 
 
28
 *
29
29
 * Fcitx candidate word list related definition and function
30
30
 */
31
31
 
44
44
 
45
45
    struct _FcitxCandidateWord;
46
46
    struct _FcitxCandidateWordList;
47
 
    
 
47
 
48
48
    /** fcitx candidate workd list */
49
49
    typedef struct _FcitxCandidateWordList FcitxCandidateWordList;
50
50
 
118
118
     * @param candList candidate word list
119
119
     * @param candWord candidate word
120
120
     * @return void
121
 
     * 
 
121
     *
122
122
     * @since 4.2
123
123
     **/
124
124
    void FcitxCandidateWordRemove(struct _FcitxCandidateWordList* candList, FcitxCandidateWord* candWord);
125
 
    
126
 
    
 
125
 
 
126
 
127
127
    /**
128
128
     * set page by index
129
129
     *
130
130
     * @param candList candidate word list
131
131
     * @param index candidate word
132
132
     * @return void
133
 
     * 
 
133
     *
134
134
     * @since 4.2.1
135
135
     **/
136
136
    void FcitxCandidateWordSetFocus(struct _FcitxCandidateWordList* candList, int index);
234
234
     * @return void
235
235
     **/
236
236
    void FcitxCandidateWordSetChoose(struct _FcitxCandidateWordList* candList, const char* strChoose);
237
 
    
 
237
 
238
238
    /**
239
239
     * set the select key string, length up to 10, usually "1234567890"
240
240
     *
252
252
     * @return void
253
253
     **/
254
254
    const char* FcitxCandidateWordGetChoose(struct _FcitxCandidateWordList* candList);
255
 
    
256
 
    
 
255
 
 
256
 
257
257
    /**
258
258
     * get select key state
259
259
     *