kpilot/lib

kpilotlink.h File Reference


Detailed Description

Encapsulates all the communication with the pilot.

Also does daemon-like polling of the Pilot. Interesting status changes are signalled.

This file defines three classes; these handle some aspects of communication with a Handheld. A KPilotLink object represents a connection to a device (which may be active or inactive -- the latter in cases where the link is waiting for a device to show up). The object handles waiting, protocol initialization and some general tasks such as getting system information or user data.

The actual communication with the handheld should use the PilotDatabase methods or use pilot-link dlp_* functions directly on handle().

The KPilotLink class was originally a kind of C++ wrapper for the pilot-link library. It grew and grew and mutated until it was finally cleaned up again in 2001. In the meantime it had become something that wrapped a lot more than just pilot-link.

This file defines an abstract base class KPilotLink, which may be specialized for a real physical device that communicates with DLP/SLP through the pilot-link library, or as a "fake" device which uses data on the local filesystem to simulate a device. These subclasses are KPilotDeviceLink and KPilotLocalLink.

Definition in file kpilotlink.h.

#include <time.h>
#include <pi-dlp.h>
#include <qobject.h>
#include <qvaluelist.h>

Go to the source code of this file.


Classes

class  KPilotLink
 This is the abstract base class for Handheld interaction. More...

Typedefs

typedef QValueList< struct
DBInfo > 
DBInfoList

Typedef Documentation

typedef QValueList<struct DBInfo> DBInfoList

A list of DBInfo structures.

Definition at line 144 of file kpilotlink.h.

KDE Home | KDE Accessibility Home | Description of Access Keys