home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 May / PCP163A.iso / Runimage / Cbuilder4 / Include / JAVAATTR.H < prev    next >
Encoding:
C/C++ Source or Header  |  1999-01-26  |  1.3 KB  |  35 lines

  1. #ifndef _JAVAATTR_H_
  2. #pragma option push -b -a8 -pc -A- /*P_O_Push_S*/
  3. #define _JAVAATTR_H_
  4.  
  5. // -----------------------------------------------------------------------
  6. // JavaAttr.h  -- TypeLib Custom Properties for Java
  7. //
  8. // Copyright (c) 1996-1997 Microsoft Corporation.  All Rights Reserved.    
  9. // -----------------------------------------------------------------------  
  10. //
  11. // Usage:
  12. //  In IDL or ODL source,
  13. //  #include <JavaAttr.h>
  14. //
  15. //  Within the attributes section of a coclass, write
  16. //      JAVACLASS("class name")    and/or
  17. //      PROGID("progid name")
  18.  
  19. //======================================================================================
  20. // Attribute GUIDs
  21. //======================================================================================
  22. #define        TLBATTR_JAVACLASS    06f90aa0-3f00-11d0-987d-00a0c90aebd9
  23. #define        TLBATTR_PROGID        06f90aa1-3f00-11d0-987d-00a0c90aebd9
  24.  
  25. //======================================================================================
  26. // Attribute MACROs
  27. //======================================================================================
  28.  
  29. #define JAVACLASS(str)            custom(TLBATTR_JAVACLASS,str)
  30. #define PROGID(str)            custom(TLBATTR_PROGID,str)
  31.  
  32.  
  33. #pragma option pop /*P_O_Pop*/
  34. #endif _JAVAATTR_H_
  35.