SkkCdbDict

SkkCdbDict — CDB based implementation of Dict.

Synopsis

#define             SKK_TYPE_CDB_DICT
SkkCdbDict *        skk_cdb_dict_new                    (const gchar *path,
                                                         const gchar *encoding,
                                                         GError **error);
struct              SkkCdbDict;
struct              SkkCdbDictClass;

Object Hierarchy

  GObject
   +----SkkDict
         +----SkkCdbDict

Properties

  "read-only"                gboolean              : Read

Description

Details

SKK_TYPE_CDB_DICT

#define SKK_TYPE_CDB_DICT (skk_cdb_dict_get_type ())

The type for SkkCdbDict.


skk_cdb_dict_new ()

SkkCdbDict *        skk_cdb_dict_new                    (const gchar *path,
                                                         const gchar *encoding,
                                                         GError **error);

Create a new CdbDict.

GError will be returned in error if opening the file is failed

path :

a path to the file. [in]

encoding :

encoding of the file (default EUC-JP). [in]

error :

location to store the error occuring, or NULL to ignore

Returns :

a new FileDict

struct SkkCdbDict

struct SkkCdbDict;

CDB based implementation of Dict.


struct SkkCdbDictClass

struct SkkCdbDictClass {
	SkkDictClass parent_class;
};

The class structure for SKK_TYPE_CDB_DICT. All the fields in this structure are private and should never be accessed directly.

SkkDictClass parent_class;

the parent class structure

Property Details

The "read-only" property

  "read-only"                gboolean              : Read

read-only.

Default value: FALSE