home *** CD-ROM | disk | FTP | other *** search
/ Apple Developer Connection Student Program / ADC Tools Sampler CD Disk 3 1999.iso / Metrowerks CodeWarrior / Java Support / Java_Source / Java2 / src / launcher / java_md.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-05-28  |  1.1 KB  |  47 lines  |  [TEXT/CWIE]

  1. /*
  2.  * @(#)java_md.h    1.3 98/08/14
  3.  *
  4.  * Copyright 1998 by Sun Microsystems, Inc.,
  5.  * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
  6.  * All rights reserved.
  7.  *
  8.  * This software is the confidential and proprietary information
  9.  * of Sun Microsystems, Inc. ("Confidential Information").  You
  10.  * shall not disclose such Confidential Information and shall use
  11.  * it only in accordance with the terms of the license agreement
  12.  * you entered into with Sun.
  13.  */
  14.  
  15. #ifndef JAVA_MD_H
  16. #define JAVA_MD_H
  17.  
  18. #include <windows.h>
  19.  
  20. #define PATH_SEPARATOR    ';'
  21. #define FILE_SEPARATOR    '\\'
  22. #define MAXPATHLEN      MAX_PATH
  23.  
  24. #ifdef JAVA_ARGS
  25. /*
  26.  * ApplicationHome is prepended to each of these entries; the resulting
  27.  * strings are concatenated (seperated by PATH_SEPARATOR) and used as the
  28.  * value of -cp option to the launcher.
  29.  */
  30. #ifndef APP_CLASSPATH
  31. #define APP_CLASSPATH        { "\\lib\\tools.jar", "\\classes" }
  32. #endif
  33. #endif
  34.  
  35. /*
  36.  * Support for doing cheap, accurate interval timing.
  37.  */
  38. extern jlong CounterGet(void);
  39. extern jlong Counter2Micros(jlong counts);
  40.  
  41. #ifdef JAVAW
  42. #define main _main
  43. extern int _main(int argc, char **argv);
  44. #endif
  45.  
  46. #endif
  47.