home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / internet / freenet / WrkBone001 / Linux / WBone / WorkBone-0.1 / workbone.h < prev   
C/C++ Source or Header  |  1993-12-08  |  2KB  |  56 lines

  1. /*   WorkBone CD Rom Player Software
  2.  
  3.      Copyright (C) 1993  Thomas McWilliams 
  4.    
  5.      This program is free software; you can redistribute it and/or modify
  6.      it under the terms of the GNU General Public License as published by
  7.      the Free Software Foundation; either version 2, or (at your option)
  8.      any later version.
  9.      
  10.      This program is distributed in the hope that it will be useful,
  11.      but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.      GNU General Public License for more details.
  14.      
  15.      You should have received a copy of the GNU General Public License
  16.      along with this program; if not, write to the Free Software
  17.      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  
  19. */
  20.  
  21. #define CDNULL 0
  22. #define CDPLAY 1
  23. #define CDPAUZ 3
  24. #define CDSTOP 4
  25. #define CDEJECT 5
  26.  
  27. #define UPCUR "\033[1A"
  28. #define REVON "\033[7m"
  29. #define REVOF "\033[27m"
  30. #define GON "\033(U" "\n"
  31. #define GOF "\033(B"
  32. #define MTAB "        "
  33. #define MTAB3 MTAB MTAB MTAB 
  34. #define ROW0 MTAB3 "\263                      \263\n"
  35. #define ROW1 MTAB3 "\263    \376\376    ||    |\020    \263\n"
  36. #define ROW2 MTAB3 "\263    |\021    \036\036    \020|    \263\n"
  37. #define ROW3 MTAB3 "\263    \021\021    ..    \020\020    \263\n"
  38. #define ROW4 MTAB3 "\263   " REVON "   quit   " REVOF "   " REVON " ? " REVOF "   \263\n"
  39. #define HLIN1 "\304\304\304\304\304\304\304\304\304\304\304"
  40. #define HLIN2 "\304\304\304\304"
  41. #define HDR "\264 number pad \303"
  42. #define ROWT MTAB3 "\332" HLIN2 HDR HLIN2 "\277\n" 
  43. #define ROWB MTAB3 "\300" HLIN1 HLIN1 "\331\n" GOF "\n" UPCUR "\r"
  44.  
  45. #ifndef TRUE
  46. #define TRUE 1
  47. #define FALSE 0
  48. #endif
  49.  
  50. void play_cd( int start, int pos, int end) ;
  51. int eject_cd( void );
  52. int cd_status( void );
  53. void pause_cd( void );
  54. void stop_cd( void );
  55.  
  56.