home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / stubfe / stubmail.c < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  3.9 KB  |  204 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.    stubmail.c --- stub functions for fe
  21.                   specific mail/news stuff.
  22. */
  23.  
  24. #include "xp_core.h"
  25. #include "structs.h"
  26. #include "ntypes.h"
  27. #include "msgcom.h"
  28. #include "addrbook.h"
  29. #include "dirprefs.h"
  30.  
  31. const char*
  32. FE_UsersMailAddress()
  33. {
  34. }
  35.  
  36. const char*
  37. FE_UsersFullName()
  38. {
  39. }
  40.  
  41. const char *
  42. FE_UsersOrganization()
  43. {
  44. }
  45.  
  46. const char*
  47. FE_UsersSignature()
  48. {
  49. }
  50.  
  51. void
  52. FE_ListChangeStarting(MSG_Pane* pane,
  53.               XP_Bool asynchronous,
  54.               MSG_NOTIFY_CODE notify,
  55.               MSG_ViewIndex where,
  56.               int32 num)
  57. {
  58. }
  59.  
  60. void
  61. FE_ListChangeFinished(MSG_Pane* pane,
  62.               XP_Bool asynchronous,
  63.               MSG_NOTIFY_CODE notify,
  64.               MSG_ViewIndex where,
  65.               int32 num)
  66. {
  67. }
  68.  
  69. void
  70. FE_PaneChanged(MSG_Pane *pane,
  71.            XP_Bool asynchronous, 
  72.            MSG_PANE_CHANGED_NOTIFY_CODE notify_code,
  73.            int32 value)
  74. {
  75. }
  76.  
  77. char*
  78. FE_GetTempFileFor(MWContext* context,
  79.           const char* fname,
  80.           XP_FileType ftype,
  81.           XP_FileType* rettype)
  82. {
  83. }
  84.  
  85. void
  86. FE_UpdateBiff(MSG_BIFF_STATE state)
  87. {
  88. }
  89.  
  90. uint32
  91. FE_DiskSpaceAvailable (MWContext* context,
  92.                const char* dir)
  93. {
  94. }
  95.  
  96. MSG_Pane*
  97. FE_CreateCompositionPane(MWContext* old_context,
  98.              MSG_CompositionFields* fields,
  99.              const char* initialText,
  100.              MSG_EditorType editorType)
  101. {
  102. }
  103.  
  104. void
  105. FE_UpdateCompToolbar(MSG_Pane* comppane)
  106. {
  107. }
  108.  
  109. void
  110. FE_DestroyMailCompositionContext(MWContext* context)
  111. {
  112. }
  113.  
  114. MWContext*
  115. FE_GetAddressBookContext(MSG_Pane* pane,
  116.              XP_Bool viewnow)
  117. {
  118. }
  119.  
  120. ABook*
  121. FE_GetAddressBook(MSG_Pane* pane)
  122. {
  123. }
  124.  
  125. int
  126. FE_ShowPropertySheetFor (MWContext* context,
  127.              ABID entryID, 
  128.              PersonEntry* pPerson)
  129. {
  130. }
  131.  
  132. XP_List* 
  133. FE_GetDirServers(void)
  134. {
  135. }
  136.  
  137. MSG_Master*
  138. FE_GetMaster()
  139. {
  140. }
  141.  
  142. XP_Bool
  143. FE_IsAltMailUsed(MWContext* context)
  144. {
  145. }
  146.  
  147. int
  148. FE_PromptIMAPSubscriptionUpgrade(MWContext* context)
  149. {
  150. }
  151.  
  152. XP_Bool
  153. FE_CreateSubscribePaneOnHost(MSG_Master* master,
  154.                  MWContext* parentContext,
  155.                  MSG_Host* host)
  156. {
  157. }
  158.  
  159. const char *
  160. FE_UsersRealMailAddress()
  161. {
  162. }
  163.  
  164. void
  165. FE_RememberPopPassword(MWContext* context,
  166.                const char* password)
  167. {
  168. }
  169.  
  170. XP_Bool 
  171. FE_NewsDownloadPrompt(MWContext *context,
  172.               int32 numMessagesToDownload,
  173.               XP_Bool *downloadAll)
  174. {
  175. }
  176.  
  177. void
  178. FE_MsgShowHeaders(MSG_Pane *pPane,
  179.           MSG_HEADER_SET mhsHeaders)
  180. {
  181. }
  182.  
  183. /* If we're set up to deliver mail/news by running a program rather
  184.    than by talking to SMTP/NNTP, this does it.
  185.  
  186.    Returns positive if delivery via program was successful;
  187.    Returns negative if delivery failed;
  188.    Returns 0 if delivery was not attempted (in which case we
  189.    should use SMTP/NNTP instead.)
  190.  
  191.    $NS_MSG_DELIVERY_HOOK names a program which is invoked with one argument,
  192.    a tmp file containing a message.  (Lines are terminated with CRLF.)
  193.    This program is expected to parse the To, CC, BCC, and Newsgroups headers,
  194.    and effect delivery to mail and/or news.  It should exit with status 0
  195.    iff successful.
  196.  
  197.    #### This really wants to be defined in libmsg, but it wants to
  198.    be able to use fe_perror, so...
  199.  */
  200. int
  201. msg_DeliverMessageExternally(MWContext *context, const char *msg_file)
  202. {
  203. }
  204.