kpilot

pilot.h File Reference

These are some base structures that reside on the handheld device -- strings and binary data. More...

#include <sys/types.h>
#include <pi-appinfo.h>
#include <pi-buffer.h>
#include <pi-dlp.h>
#include <qstring.h>
#include <qstringlist.h>
#include <qvaluelist.h>
#include "pilotLinkVersion.h"

Include dependency graph for pilot.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Classes

struct  Pilot::dlp< t >
struct  Pilot::dlp< char * >
struct  Pilot::dlp< char >
struct  Pilot::dlp< long >
struct  Pilot::dlp< short >

Namespaces

namespace  Pilot

Defines

#define MIN(X, Y)   ((X) < (Y) ? (X) : (Y))

Typedefs

typedef QValueList< recordid_t > Pilot::RecordIDList

Functions

QString Pilot::categoryName (const struct CategoryAppInfo *info, unsigned int i)
QStringList Pilot::categoryNames (const struct CategoryAppInfo *info)
QString Pilot::codecName ()
void Pilot::dumpCategories (const struct CategoryAppInfo *info)
int Pilot::findCategory (const struct CategoryAppInfo *info, const QString &name, bool unknownIsUnfiled)
QString Pilot::fromPilot (const char *c)
QString Pilot::fromPilot (const char *c, int len)
int Pilot::insertCategory (struct CategoryAppInfo *info, const QString &label, bool unknownIsUnfiled)
static bool Pilot::isResource (struct DBInfo *info)
bool Pilot::setupPilotCodec (const QString &name)
QCString Pilot::toPilot (const QString &s)
int Pilot::toPilot (const QString &s, unsigned char *buf, int len)
int Pilot::toPilot (const QString &s, char *buf, int len)
bool Pilot::validCategory (int c)

Variables

static const unsigned int Pilot::CATEGORY_COUNT = 16
static const unsigned int Pilot::CATEGORY_SIZE = 16
static const int Pilot::MAX_APPINFO_SIZE = 8192
static const int Pilot::MAX_RECORD_SIZE = 65535
static const int Pilot::Unfiled = 0

Detailed Description

These are some base structures that reside on the handheld device -- strings and binary data.

Definition in file pilot.h.


Define Documentation

#define MIN ( X,
 )     ((X) < (Y) ? (X) : (Y))

Definition at line 54 of file pilot.h.