#include <pilot-qof.h>
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 254 of file 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 |
gchar * | pref_creator |
gint | pref_flag |
QofIdTypeConst PilotPack_s::e_type |
The same e_type as the object itself.
Definition at line 257 of file pilot-qof.h.
Referenced by pilot_qof_pack_lookup().
Calls the pack routine for the underlying pilot-link object to write data to the Palm.
Definition at line 260 of file pilot-qof.h.
Referenced by pilot_qof_pack().
Calls the unpack routine for the underlying pilot_link object to read data from the Palm.
Definition at line 263 of file pilot-qof.h.
Referenced by pilot_qof_unpack().
Calls the free routine for the underlying pilot-link object - used when the QofBook is closed.
Definition at line 266 of file pilot-qof.h.
Referenced by pilot_entity_free().
const gchar* PilotPack_s::palm_db_name |
The name of the database on the Palm that corresponds to and will be packed / unpacked for this object.
Definition at line 269 of file pilot-qof.h.
Referenced by pilot_database_open().
Calls the unpack routine for the current database to retrieve the category list.
Definition at line 272 of file pilot-qof.h.
Referenced by pilot_app_unpack().
Calls the unpack routine for the current database to retrieve the preferences - before the database is opened.
Definition at line 276 of file pilot-qof.h.
Referenced by pilot_database_open().
gchar* PilotPack_s::pref_creator |
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 280 of file pilot-qof.h.
Referenced by pilot_database_open().
DB-specific flag passed to preference reader / writer code.
Definition at line 283 of file pilot-qof.h.
Referenced by pilot_database_open().