//
// Copyleft RIME Developers
// License: GPLv3
//
// 2014-01-04 GONG Chen <chen.sst@gmail.com>
//

#include <rime_api.h>
#include <rime/common.h>
#include <rime/registry.h>

#include "trivial_translator.h"

static void rime_sample_initialize() {
  LOG(INFO) << "registering components from module 'sample'.";
  rime::Registry& r = rime::Registry::instance();
  r.Register("trivial_translator",
             new rime::Component<sample::TrivialTranslator>);
}

static void rime_sample_finalize() {
}

RIME_REGISTER_MODULE(sample)
