home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / stubfe / stubedit.c < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  2.8 KB  |  159 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.    stubedit.c --- stub functions for fe
  21.                   specific editor stuff.
  22. */
  23.  
  24. #include "xp_core.h"
  25. #include "structs.h"
  26. #include "ntypes.h"
  27. #include "edttypes.h"
  28. #include "edt.h"
  29.  
  30. void
  31. FE_DisplayTextCaret(MWContext* context,
  32.             int loc,
  33.             LO_TextStruct* text_data,
  34.             int char_offset)
  35. {
  36. }
  37.  
  38. void
  39. FE_DisplayImageCaret(MWContext* context,
  40.              LO_ImageStruct* pImageData,
  41.              ED_CaretObjectPosition caretPos)
  42. {
  43. }
  44.  
  45. void
  46. FE_DisplayGenericCaret(MWContext* context,
  47.                LO_Any* pLoAny,
  48.                ED_CaretObjectPosition caretPos)
  49. {
  50. }
  51.  
  52. Bool
  53. FE_GetCaretPosition(MWContext* context,
  54.             LO_Position* where,
  55.             int32* caretX,
  56.             int32* caretYLow,
  57.             int32* caretYHigh)
  58. {
  59. }
  60.  
  61. void
  62. FE_DestroyCaret(MWContext* pContext)
  63. {
  64. }
  65.  
  66. void
  67. FE_ShowCaret(MWContext* pContext)
  68. {
  69. }
  70.  
  71. void
  72. FE_DocumentChanged(MWContext* context,
  73.            int32 iStartY,
  74.            int32 iHeight)
  75. {
  76. }
  77.  
  78. MWContext*
  79. FE_CreateNewEditWindow(MWContext* pContext,
  80.                URL_Struct* pURL)
  81. {
  82. }
  83.  
  84. char*
  85. FE_URLToLocalName(char* url)
  86. {
  87. }
  88.  
  89. void
  90. FE_EditorDocumentLoaded(MWContext* context)
  91. {
  92. }
  93.  
  94. void
  95. FE_GetDocAndWindowPosition(MWContext * context,
  96.                int32 *pX,
  97.                int32 *pY,
  98.                int32 *pWidth,
  99.                int32 *pHeight)
  100. {
  101. }
  102.  
  103. void
  104. FE_SetNewDocumentProperties(MWContext* context)
  105. {
  106. }
  107.  
  108. Bool
  109. FE_CheckAndSaveDocument(MWContext* context)
  110. {
  111. }
  112.  
  113. Bool
  114. FE_CheckAndAutoSaveDocument(MWContext *context)
  115. {
  116. }
  117.  
  118. void 
  119. FE_FinishedSave(MWContext* context,
  120.         int status,
  121.         char *pDestURL,
  122.         int iFileNumber)
  123. {
  124. }
  125.  
  126. char *
  127. XP_BackupFileName (const char *url)
  128. {
  129. }
  130.  
  131. Bool
  132. XP_ConvertUrlToLocalFile (const char *url,
  133.               char **localName)
  134. {
  135. }
  136.  
  137. void
  138. FE_ImageLoadDialog(MWContext* context)
  139. {
  140. }
  141.  
  142. void
  143. FE_ImageLoadDialogDestroy(MWContext* context)
  144. {
  145. }
  146.  
  147. void
  148. FE_DisplayAddRowOrColBorder(MWContext * pMWContext,
  149.                 XP_Rect *pRect,
  150.                 XP_Bool bErase)
  151. {
  152. }
  153.  
  154. void
  155. FE_DisplayEntireTableOrCell(MWContext * pMWContext,
  156.                 LO_Element * pLoElement)
  157. {
  158. }
  159.