librime 1.2
Rime Input Method Engine, the core library
signature.h
Go to the documentation of this file.
1//
2// Copyright RIME Developers
3// Distributed under the BSD License
4//
5// 2012-02-21 GONG Chen <chen.sst@gmail.com>
6//
7#ifndef RIME_SIGNATURE_H_
8#define RIME_SIGNATURE_H_
9
10namespace rime {
11
12class Config;
13class Deployer;
14
15class Signature {
16 public:
17 Signature(const string& generator, const string& key = "signature")
18 : generator_(generator), key_(key) {}
19
20 bool Sign(Config* config, Deployer* deployer);
21
22 private:
23 string generator_;
24 string key_;
25};
26
27} // namespace rime
28
29#endif // RIME_SIGNATURE_H_
Definition algebra.cc:12
Definition config_component.h:21
Definition deployer.h:32
Signature(const string &generator, const string &key="signature")
Definition signature.h:17
bool Sign(Config *config, Deployer *deployer)
Definition signature.cc:15