home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / stubfe / stubimg.c < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  2.6 KB  |  93 lines

  1. /* -*- Mode: C++; tab-width: 8; 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. /* 
  20.    stubimg.c --- stub functions for fe
  21.                  specific images stuff.
  22. */
  23.  
  24. #define JMC_INIT_IMGCB_ID
  25.  
  26. #include "xp_core.h"
  27. #include "structs.h"
  28. #include "ntypes.h"
  29.  
  30. #include "libimg.h"
  31. #include "il_util.h"
  32. #include "prtypes.h"
  33.  
  34. JMC_PUBLIC_API(void)
  35. _IMGCB_init(struct IMGCB* self, JMCException* *exception)
  36. {
  37. }
  38.  
  39. JMC_PUBLIC_API(void*)
  40. _IMGCB_getBackwardCompatibleInterface(struct IMGCB* self,
  41.                       const JMCInterfaceID* iid,
  42.                       JMCException* *exception)
  43. {
  44. }
  45.  
  46. JMC_PUBLIC_API(void)
  47. _IMGCB_NewPixmap(IMGCB* img_cb, jint op, void *dpy_cx, jint width, jint height,
  48.          IL_Pixmap *image, IL_Pixmap *mask) 
  49. {
  50. }
  51.  
  52. JMC_PUBLIC_API(void)
  53. _IMGCB_UpdatePixmap(IMGCB* img_cb, jint op, void* dpy_cx, IL_Pixmap* pixmap,
  54.             jint x_offset, jint y_offset, jint width, jint height)
  55. {
  56. }
  57.  
  58. JMC_PUBLIC_API(void)
  59. _IMGCB_ControlPixmapBits(IMGCB* img_cb, jint op, void* dpy_cx,
  60.                          IL_Pixmap* pixmap, IL_PixmapControl message)
  61. {
  62. }
  63.  
  64. JMC_PUBLIC_API(void)
  65. _IMGCB_DestroyPixmap(IMGCB* img_cb, jint op, void* dpy_cx, IL_Pixmap* pixmap)
  66. {
  67. }
  68.  
  69. JMC_PUBLIC_API(void)
  70. _IMGCB_DisplayPixmap(IMGCB* img_cb, jint op, void* dpy_cx, IL_Pixmap* image, 
  71.                      IL_Pixmap* mask, jint x, jint y, jint x_offset,
  72.                      jint y_offset, jint width, jint height)
  73. {
  74. }
  75.  
  76. JMC_PUBLIC_API(void)
  77. _IMGCB_GetIconDimensions(IMGCB* img_cb, jint op, void* dpy_cx, int* width,
  78.                          int* height, jint icon_number)
  79. {
  80. }
  81. JMC_PUBLIC_API(void)
  82. _IMGCB_DisplayIcon(IMGCB* img_cb, jint op, void* dpy_cx, jint x, jint y,
  83.                    jint icon_number)
  84. {
  85. }
  86.  
  87. /* Mocha image group observer callback. */
  88. void
  89. FE_MochaImageGroupObserver(XP_Observable observable, XP_ObservableMsg message,
  90.                            void *message_data, void *closure)
  91. {   
  92. }   
  93.