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

#include <pilot-qof.h>


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 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


Field Documentation

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().

QofPack PilotPack_s::pack_func

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().

QofPack PilotPack_s::unpack_func

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().

QofPack PilotPack_s::free_pack_func

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().

QofPack PilotPack_s::app_info_unpack

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().

QofPack PilotPack_s::db_pref_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().

gint PilotPack_s::pref_flag

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

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

Referenced by pilot_database_open().


The documentation for this struct was generated from the following file:
Generated on Tue Mar 6 00:08:10 2007 for pilot-qof by  doxygen 1.5.1