home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / modules / libfont / jmcgen / include / Mnffbcpp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  7.1 KB  |  180 lines

  1. /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  *
  3.  * The contents of this file are subject to the Netscape Public License
  4.  * Version 1.0 (the "NPL"); you may not use this file except in
  5.  * compliance with the NPL.  You may obtain a copy of the NPL at
  6.  * http://www.mozilla.org/NPL/
  7.  *
  8.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10.  * for the specific language governing rights and limitations under the
  11.  * NPL.
  12.  *
  13.  * The Initial Developer of this code under the NPL is Netscape
  14.  * Communications Corporation.  Portions created by Netscape are
  15.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16.  * Reserved.
  17.  */
  18. /*******************************************************************************
  19.  * Source date: 29 Jan 1997 02:28:10 GMT
  20.  * netscape/fonts/nffbcpp public interface
  21.  * Generated by jmc version 1.8 -- DO NOT EDIT
  22.  ******************************************************************************/
  23.  
  24. #ifndef _Mnffbcpp_H_
  25. #define _Mnffbcpp_H_
  26.  
  27. #ifdef __cplusplus
  28. extern "C" {
  29. #endif /* __cplusplus */
  30.  
  31. #include "jmc.h"
  32.  
  33. /*******************************************************************************
  34.  * nffbcpp
  35.  ******************************************************************************/
  36.  
  37. /* The type of the nffbcpp interface. */
  38. struct nffbcppInterface;
  39.  
  40. /* The public type of a nffbcpp instance. */
  41. typedef struct nffbcpp {
  42.     const struct nffbcppInterface*    vtable;
  43. } nffbcpp;
  44.  
  45. /* The inteface ID of the nffbcpp interface. */
  46. #ifndef JMC_INIT_nffbcpp_ID
  47. extern EXTERN_C_WITHOUT_EXTERN const JMCInterfaceID nffbcpp_ID;
  48. #else
  49. EXTERN_C const JMCInterfaceID nffbcpp_ID = { 0x076d7270, 0x687b1c3f, 0x3c252054, 0x75133743 };
  50. #endif /* JMC_INIT_nffbcpp_ID */
  51. /*******************************************************************************
  52.  * nffbcpp Operations
  53.  ******************************************************************************/
  54.  
  55. #define nffbcpp_getInterface(self, a, exception)    \
  56.     (((self)->vtable->getInterface)(self, nffbcpp_getInterface_op, a, exception))
  57.  
  58. #define nffbcpp_addRef(self, exception)    \
  59.     (((self)->vtable->addRef)(self, nffbcpp_addRef_op, exception))
  60.  
  61. #define nffbcpp_release(self, exception)    \
  62.     (((self)->vtable->release)(self, nffbcpp_release_op, exception))
  63.  
  64. #define nffbcpp_hashCode(self, exception)    \
  65.     (((self)->vtable->hashCode)(self, nffbcpp_hashCode_op, exception))
  66.  
  67. #define nffbcpp_equals(self, obj, exception)    \
  68.     (((self)->vtable->equals)(self, nffbcpp_equals_op, obj, exception))
  69.  
  70. #define nffbcpp_clone(self, exception)    \
  71.     (((self)->vtable->clone)(self, nffbcpp_clone_op, exception))
  72.  
  73. #define nffbcpp_toString(self, exception)    \
  74.     (((self)->vtable->toString)(self, nffbcpp_toString_op, exception))
  75.  
  76. #define nffbcpp_finalize(self, exception)    \
  77.     (((self)->vtable->finalize)(self, nffbcpp_finalize_op, exception))
  78.  
  79. #define nffbcpp_nfdoerID(self, exception)    \
  80.     (((self)->vtable->nfdoerID)(self, nffbcpp_nfdoerID_op, exception))
  81.  
  82. #define nffbcpp_nffID(self, exception)    \
  83.     (((self)->vtable->nffID)(self, nffbcpp_nffID_op, exception))
  84.  
  85. #define nffbcpp_nffbcID(self, exception)    \
  86.     (((self)->vtable->nffbcID)(self, nffbcpp_nffbcID_op, exception))
  87.  
  88. #define nffbcpp_nffbpID(self, exception)    \
  89.     (((self)->vtable->nffbpID)(self, nffbcpp_nffbpID_op, exception))
  90.  
  91. #define nffbcpp_nffbuID(self, exception)    \
  92.     (((self)->vtable->nffbuID)(self, nffbcpp_nffbuID_op, exception))
  93.  
  94. #define nffbcpp_nffbcppID(self, exception)    \
  95.     (((self)->vtable->nffbcppID)(self, nffbcpp_nffbcppID_op, exception))
  96.  
  97. #define nffbcpp_nffmiID(self, exception)    \
  98.     (((self)->vtable->nffmiID)(self, nffbcpp_nffmiID_op, exception))
  99.  
  100. #define nffbcpp_nffpID(self, exception)    \
  101.     (((self)->vtable->nffpID)(self, nffbcpp_nffpID_op, exception))
  102.  
  103. #define nffbcpp_nfrcID(self, exception)    \
  104.     (((self)->vtable->nfrcID)(self, nffbcpp_nfrcID_op, exception))
  105.  
  106. #define nffbcpp_nfrfID(self, exception)    \
  107.     (((self)->vtable->nfrfID)(self, nffbcpp_nfrfID_op, exception))
  108.  
  109. #define nffbcpp_nfstrmID(self, exception)    \
  110.     (((self)->vtable->nfstrmID)(self, nffbcpp_nfstrmID_op, exception))
  111.  
  112. #define nffbcpp_nfdlmID(self, exception)    \
  113.     (((self)->vtable->nfdlmID)(self, nffbcpp_nfdlmID_op, exception))
  114.  
  115. /*******************************************************************************
  116.  * nffbcpp Interface
  117.  ******************************************************************************/
  118.  
  119. struct netscape_jmc_JMCInterfaceID;
  120. struct java_lang_Object;
  121. struct java_lang_String;
  122.  
  123. struct nffbcppInterface {
  124.     void*    (*getInterface)(struct nffbcpp* self, jint op, const JMCInterfaceID* a, JMCException* *exception);
  125.     void    (*addRef)(struct nffbcpp* self, jint op, JMCException* *exception);
  126.     void    (*release)(struct nffbcpp* self, jint op, JMCException* *exception);
  127.     jint    (*hashCode)(struct nffbcpp* self, jint op, JMCException* *exception);
  128.     jbool    (*equals)(struct nffbcpp* self, jint op, void* obj, JMCException* *exception);
  129.     void*    (*clone)(struct nffbcpp* self, jint op, JMCException* *exception);
  130.     const char*    (*toString)(struct nffbcpp* self, jint op, JMCException* *exception);
  131.     void    (*finalize)(struct nffbcpp* self, jint op, JMCException* *exception);
  132.     const JMCInterfaceID*    (*nfdoerID)(struct nffbcpp* self, jint op, JMCException* *exception);
  133.     const JMCInterfaceID*    (*nffID)(struct nffbcpp* self, jint op, JMCException* *exception);
  134.     const JMCInterfaceID*    (*nffbcID)(struct nffbcpp* self, jint op, JMCException* *exception);
  135.     const JMCInterfaceID*    (*nffbpID)(struct nffbcpp* self, jint op, JMCException* *exception);
  136.     const JMCInterfaceID*    (*nffbuID)(struct nffbcpp* self, jint op, JMCException* *exception);
  137.     const JMCInterfaceID*    (*nffbcppID)(struct nffbcpp* self, jint op, JMCException* *exception);
  138.     const JMCInterfaceID*    (*nffmiID)(struct nffbcpp* self, jint op, JMCException* *exception);
  139.     const JMCInterfaceID*    (*nffpID)(struct nffbcpp* self, jint op, JMCException* *exception);
  140.     const JMCInterfaceID*    (*nfrcID)(struct nffbcpp* self, jint op, JMCException* *exception);
  141.     const JMCInterfaceID*    (*nfrfID)(struct nffbcpp* self, jint op, JMCException* *exception);
  142.     const JMCInterfaceID*    (*nfstrmID)(struct nffbcpp* self, jint op, JMCException* *exception);
  143.     const JMCInterfaceID*    (*nfdlmID)(struct nffbcpp* self, jint op, JMCException* *exception);
  144. };
  145.  
  146. /*******************************************************************************
  147.  * nffbcpp Operation IDs
  148.  ******************************************************************************/
  149.  
  150. typedef enum nffbcppOperations {
  151.     nffbcpp_getInterface_op,
  152.     nffbcpp_addRef_op,
  153.     nffbcpp_release_op,
  154.     nffbcpp_hashCode_op,
  155.     nffbcpp_equals_op,
  156.     nffbcpp_clone_op,
  157.     nffbcpp_toString_op,
  158.     nffbcpp_finalize_op,
  159.     nffbcpp_nfdoerID_op,
  160.     nffbcpp_nffID_op,
  161.     nffbcpp_nffbcID_op,
  162.     nffbcpp_nffbpID_op,
  163.     nffbcpp_nffbuID_op,
  164.     nffbcpp_nffbcppID_op,
  165.     nffbcpp_nffmiID_op,
  166.     nffbcpp_nffpID_op,
  167.     nffbcpp_nfrcID_op,
  168.     nffbcpp_nfrfID_op,
  169.     nffbcpp_nfstrmID_op,
  170.     nffbcpp_nfdlmID_op
  171. } nffbcppOperations;
  172.  
  173. /******************************************************************************/
  174.  
  175. #ifdef __cplusplus
  176. } /* extern "C" */
  177. #endif /* __cplusplus */
  178.  
  179. #endif /* _Mnffbcpp_H_ */
  180.