~sil2100/ubuntu-keyboard/preedit_state_fix

« back to all changes in this revision

Viewing changes to plugins/westernsupport/candidatescallback.h

language features + backends go into plugins
.

Approved by Bill Filler, PS Jenkins bot, Thomas Moenicke.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef CANDIDATESCALLBACK_H
 
2
#define CANDIDATESCALLBACK_H
 
3
 
 
4
#include <presage.h>
 
5
 
 
6
class CandidatesCallback
 
7
    : public PresageCallback
 
8
{
 
9
private:
 
10
    const std::string& m_past_context;
 
11
    const std::string m_empty;
 
12
 
 
13
public:
 
14
    explicit CandidatesCallback(const std::string& past_context);
 
15
 
 
16
    std::string get_past_stream() const;
 
17
    std::string get_future_stream() const;
 
18
};
 
19
 
 
20
#endif // CANDIDATESCALLBACK_H