Globals


Annotated List
Files
Globals
Hierarchy
Index

lib/Enum.h

lib/plpdirent.h

lib/plpintl.h

lib/psibitmap.h

lib/psitime.h

lib/rfsv.h

lib/rpcs.h

lib/sistypes.h

template <typename E> inline std::ostream&  operator << (std::ostream& out, const Enum<E> &e)

#include <lib/Enum.h>

Writes enumeration's string representation.

typedef  int (*getPixelFunction_t)(int x, int y)

#include <lib/psibitmap.h>

This function is used by encodeBitmap for retrieving image data. It must return a gray value between 0 and 255 where 0 is black and 255 is white.

Parameters:
xThe x coordinate of the pixel to get (0 = left)
yThe y coordinate of the pixel to get (0 = top)

extern void  encodeBitmap (int width, int height, getPixelFunction_t getPixel, bool rle, bufferStore &out)

#include <lib/psibitmap.h>

Convert an image into a bitmap in Psion format.

Parameters:
widthThe width of the image to convert.
heightThe height of the image to convert.
getPixelPointer to a function for retrieving pixel values.
rleFlag: Perform RLE compression (currently ignored).
outOutput buffer; gets filled with the Psion representation of the converted image.

extern bool  decodeBitmap (const unsigned char *p, int &width, int &height, bufferStore &out)

#include <lib/psibitmap.h>

Convert a Psion bitmap to a 8bit/pixel grayscale image.

Parameters:
pPointer to an input buffer which contains the Psion-formatted bitmap to convert. Must start with a Psion bitmap header.
widthOn return, the image width in pixels is returned here.
heightOn return, the image height in pixels is returned here.
outBuffer which gets filled with the raw image data. Each pixel is represented by a byte. The image data is organized in height scanlines of width bytes, starting with the topmost scanline.

Returns: true on success, false if input data is inconsistent.

typedef struct psi_timeval_t

#include <lib/psitime.h>

Holds a Psion time value. Psion time values are 64 bit integers describing the time since 01.01.0001 in microseconds.

typedef struct psi_timezone_t

#include <lib/psitime.h>

holds a Psion time zone description.

typedef  int (*cpCallback_t)(void *, u_int32_t)

#include <lib/rfsv.h>

Defines the callback procedure for progress indication of copy operations.

enum SisRC {SIS_OK = 0, SIS_TRUNCATED, SIS_TRUNCATEDDATA, SIS_CORRUPTED, SIS_FAILED, SIS_ABORTED, SIS_DIFFERENT_APP, SIS_VER_EARLIER, SIS_SAME_OR_LATER, SIS_OTHER_VARIANT, }

#include <lib/sistypes.h>

Return Codes.


Generated by: felfert@usw-pr-shell1.sourceforge.net on Sat Aug 10 18:46:04 2002, using kdoc 2.0a36.