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 >
C/C++ Source or Header  |  2000-12-26  |  1KB  |  40 lines

  1. /*
  2.  * @(#)device.h
  3.  *
  4.  * Copyright 1999-2000, Aaron Ardiri (mailto:aaron@ardiri.com)
  5.  * All rights reserved.
  6.  *
  7.  * The  source code  outlines a number of basic Palm Computing Programming
  8.  * principles and you  should be able to take the core structure and write 
  9.  * a large complex program. It is distributed WITHOUT ANY WARRANTY; use it
  10.  * "AS IS" and at your own risk.
  11.  *
  12.  * The code presented is Copyright 1999-2000 by Aaron Ardiri. It should be
  13.  * used for  educational purposes only.  You  shall not modify the  Cube3D 
  14.  * source code in any way and  re-distribute it as your  own,  however you
  15.  * are free to use  the code as  a guide for  developing  programs  on the 
  16.  * Palm Computing Platform.
  17.  */
  18.  
  19. #ifndef _DEVICE_H
  20. #define _DEVICE_H
  21.  
  22. #include "palm.h"
  23.  
  24. #define romVersion1   sysMakeROMVersion(1,0,0,sysROMStageRelease,0)
  25. #define romVersion2   sysMakeROMVersion(2,0,0,sysROMStageRelease,0)
  26. #define romVersion3   sysMakeROMVersion(3,0,0,sysROMStageRelease,0)
  27. #define romVersion3_1 sysMakeROMVersion(3,1,0,sysROMStageRelease,0)
  28. #define romVersion3_2 sysMakeROMVersion(3,2,0,sysROMStageRelease,0)
  29. #define romVersion3_5 sysMakeROMVersion(3,5,0,sysROMStageRelease,0)
  30.  
  31. #define sysFtrNumProcessorVZ 0x00030000
  32.  
  33. extern void    DeviceInitialize();
  34. extern UInt32  DeviceGetSupportedDepths();
  35. extern Boolean DeviceSupportsVersion(UInt32);
  36. extern void    *DeviceWindowGetPointer(WinHandle);
  37. extern void    DeviceTerminate();
  38.  
  39. #endif
  40.