Data Fields

PilotPack_s Struct Reference
[Using QOF as a framework around pilot-link]

Packing function wrapper. More...

#include <pilot-qof.h>

Data Fields

QofIdTypeConst e_type
QofPack pack_func
QofPack unpack_func
QofPack free_pack_func
const gchar * palm_db_name
QofPack app_info_unpack
QofPack db_pref_unpack
const gchar * pref_creator
gint pref_flag

Detailed Description

Packing function wrapper.

The pack routines are linked to the QOF object using the qof_pack function pointer and the pilot_pack wrapper. The wrapper also includes the name of the database as held on the Palm.

The e_type must be the same as the e_type of the QofObject, as defined in the object_def definition.

Definition at line 251 of file pilot-qof.h.


Field Documentation

Calls the unpack routine for the current database to retrieve the category list.

Definition at line 269 of file pilot-qof.h.

Calls the unpack routine for the current database to retrieve the preferences - before the database is opened.

Definition at line 273 of file pilot-qof.h.

QofIdTypeConst PilotPack_s::e_type

The same e_type as the object itself.

Definition at line 254 of file pilot-qof.h.

Calls the free routine for the underlying pilot-link object - used when the QofBook is closed.

Definition at line 263 of file pilot-qof.h.

Calls the pack routine for the underlying pilot-link object to write data to the Palm.

Definition at line 257 of file pilot-qof.h.

The name of the database on the Palm that corresponds to and will be packed / unpacked for this object.

Definition at line 266 of file pilot-qof.h.

String identifier for the libpisock handling of Palm preferences. Converted to gulong in pilot-qof using makelong from libpisock. makelong() fails with a const gchar*

Definition at line 277 of file pilot-qof.h.

DB-specific flag passed to preference reader / writer code.

Definition at line 280 of file pilot-qof.h.

Calls the unpack routine for the underlying pilot_link object to read data from the Palm.

Definition at line 260 of file pilot-qof.h.


The documentation for this struct was generated from the following file: