~ubuntu-branches/ubuntu/oneiric/mozc/oneiric

« back to all changes in this revision

Viewing changes to converter/segments.h

  • Committer: Bazaar Package Importer
  • Author(s): Nobuhiro Iwamatsu
  • Date: 2010-07-14 03:26:47 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100714032647-13qjisj6m8cm8jdx
Tags: 0.12.410.102-1
* New upstream release (Closes: #588971).
  - Add mozc-server, mozc-utils-gui and scim-mozc packages.
* Update debian/rules.
  Add --gypdir option to build_mozc.py.
* Update debian/control.
  - Bumped standards-version to 3.9.0.
  - Update description.
* Add mozc icon (Closes: #588972).
* Add patch which revises issue 18.
  ibus_mozc_issue18.patch
* kFreeBSD build support.
  support_kfreebsd.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
namespace mozc {
39
39
 
40
40
struct Node;
 
41
class NodeAllocatorInterface;
41
42
class NBestGenerator;
42
 
class ConverterData;
 
43
class Lattice;
43
44
template <class T> class ObjectPool;
44
45
 
45
46
class Segment {
355
356
 
356
357
  // lattice
357
358
  void clear_lattice();
358
 
  bool has_lattice() const;
359
359
 
360
360
  // clear segments and lattice
361
361
  void clear();
362
362
  void Clear();
363
363
 
364
 
  Node *bos_node() const;
365
 
  Node *eos_node() const;
366
 
 
367
364
  void DebugString(string *output) const;
368
365
 
369
 
  ConverterData* converter_data();
 
366
  // return lattice instance
 
367
  Lattice *lattice() const;
 
368
 
 
369
  NodeAllocatorInterface *node_allocator() const;
370
370
 
371
371
  // Revert entries
372
372
  void clear_revert_entries();
384
384
  bool resized_;
385
385
  bool use_user_history_;
386
386
  RequestType request_type_;
387
 
  scoped_ptr<ConverterData> converter_data_;
 
387
  scoped_ptr<Lattice> lattice_;
388
388
  scoped_ptr<ObjectPool<Segment> > pool_;
389
389
  deque<Segment *> segments_;
390
390
  vector<RevertEntry> revert_entries_;