home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 Mobile
/
Chip_Mobile_2001.iso
/
palm
/
business
/
cube3d
/
cube3D.exe
/
cube3D
/
src
/
device.h
< prev
next >
Wrap
C/C++ Source or Header
|
2000-12-26
|
1KB
|
40 lines
/*
* @(#)device.h
*
* Copyright 1999-2000, Aaron Ardiri (mailto:aaron@ardiri.com)
* All rights reserved.
*
* The source code outlines a number of basic Palm Computing Programming
* principles and you should be able to take the core structure and write
* a large complex program. It is distributed WITHOUT ANY WARRANTY; use it
* "AS IS" and at your own risk.
*
* The code presented is Copyright 1999-2000 by Aaron Ardiri. It should be
* used for educational purposes only. You shall not modify the Cube3D
* source code in any way and re-distribute it as your own, however you
* are free to use the code as a guide for developing programs on the
* Palm Computing Platform.
*/
#ifndef _DEVICE_H
#define _DEVICE_H
#include "palm.h"
#define romVersion1 sysMakeROMVersion(1,0,0,sysROMStageRelease,0)
#define romVersion2 sysMakeROMVersion(2,0,0,sysROMStageRelease,0)
#define romVersion3 sysMakeROMVersion(3,0,0,sysROMStageRelease,0)
#define romVersion3_1 sysMakeROMVersion(3,1,0,sysROMStageRelease,0)
#define romVersion3_2 sysMakeROMVersion(3,2,0,sysROMStageRelease,0)
#define romVersion3_5 sysMakeROMVersion(3,5,0,sysROMStageRelease,0)
#define sysFtrNumProcessorVZ 0x00030000
extern void DeviceInitialize();
extern UInt32 DeviceGetSupportedDepths();
extern Boolean DeviceSupportsVersion(UInt32);
extern void *DeviceWindowGetPointer(WinHandle);
extern void DeviceTerminate();
#endif