1998-09-09 01:15:49 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
1999-11-02 22:43:10 +00:00
|
|
|
* The contents of this file are subject to the Netscape Public
|
|
|
|
* License Version 1.1 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.mozilla.org/NPL/
|
1998-09-09 01:15:49 +00:00
|
|
|
*
|
1999-11-02 22:43:10 +00:00
|
|
|
* Software distributed under the License is distributed on an "AS
|
|
|
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
* implied. See the License for the specific language governing
|
|
|
|
* rights and limitations under the License.
|
1998-09-09 01:15:49 +00:00
|
|
|
*
|
1999-11-02 22:43:10 +00:00
|
|
|
* The Original Code is mozilla.org code.
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is Netscape
|
1998-09-09 01:15:49 +00:00
|
|
|
* Communications Corporation. Portions created by Netscape are
|
1999-11-02 22:43:10 +00:00
|
|
|
* Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
* Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
1998-09-09 01:15:49 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
gnomemail.c --- gnome functions for fe
|
|
|
|
specific mail/news stuff.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "xp_core.h"
|
|
|
|
#include "structs.h"
|
|
|
|
#include "ntypes.h"
|
|
|
|
#include "msgcom.h"
|
|
|
|
#include "addrbook.h"
|
|
|
|
#include "dirprefs.h"
|
|
|
|
|
|
|
|
const char*
|
|
|
|
FE_UsersMailAddress()
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("FE_UsersMailAddress (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const char*
|
|
|
|
FE_UsersFullName()
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("FE_UsersFullName (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const char *
|
|
|
|
FE_UsersOrganization()
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("FE_UsersOrganization (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const char*
|
|
|
|
FE_UsersSignature()
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("FE_UsersSignature (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
FE_ListChangeStarting(MSG_Pane* pane,
|
|
|
|
XP_Bool asynchronous,
|
|
|
|
MSG_NOTIFY_CODE notify,
|
|
|
|
MSG_ViewIndex where,
|
|
|
|
int32 num)
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("FE_ListChangeStarting (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
FE_ListChangeFinished(MSG_Pane* pane,
|
|
|
|
XP_Bool asynchronous,
|
|
|
|
MSG_NOTIFY_CODE notify,
|
|
|
|
MSG_ViewIndex where,
|
|
|
|
int32 num)
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("FE_ListChangeFinished (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
FE_PaneChanged(MSG_Pane *pane,
|
|
|
|
XP_Bool asynchronous,
|
|
|
|
MSG_PANE_CHANGED_NOTIFY_CODE notify_code,
|
|
|
|
int32 value)
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("FE_PaneChanged (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
char*
|
|
|
|
FE_GetTempFileFor(MWContext* context,
|
|
|
|
const char* fname,
|
|
|
|
XP_FileType ftype,
|
|
|
|
XP_FileType* rettype)
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("FE_GetTempFileFor (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
FE_UpdateBiff(MSG_BIFF_STATE state)
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("FE_UpdateBiff (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
uint32
|
|
|
|
FE_DiskSpaceAvailable (MWContext* context,
|
|
|
|
const char* dir)
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("FE_DiskSpaceAvailable (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
MSG_Pane*
|
|
|
|
FE_CreateCompositionPane(MWContext* old_context,
|
|
|
|
MSG_CompositionFields* fields,
|
|
|
|
const char* initialText,
|
|
|
|
MSG_EditorType editorType)
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("FE_CreateCompositionPane (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
FE_UpdateCompToolbar(MSG_Pane* comppane)
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("FE_UpdateCompToolbar (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
FE_DestroyMailCompositionContext(MWContext* context)
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("FE_DestroyMailCompositionContext (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
MWContext*
|
|
|
|
FE_GetAddressBookContext(MSG_Pane* pane,
|
|
|
|
XP_Bool viewnow)
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("FE_GetAddressBookContext (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ABook*
|
|
|
|
FE_GetAddressBook(MSG_Pane* pane)
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("FE_GetAddressBook (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
int
|
|
|
|
FE_ShowPropertySheetFor (MWContext* context,
|
|
|
|
ABID entryID,
|
|
|
|
PersonEntry* pPerson)
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("FE_ShowPropertySheetFor (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
XP_List*
|
|
|
|
FE_GetDirServers(void)
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("FE_GetDirServers (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
MSG_Master*
|
|
|
|
FE_GetMaster()
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("FE_GetMaster (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
XP_Bool
|
|
|
|
FE_IsAltMailUsed(MWContext* context)
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("FE_IsAltMailUsed (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
MSG_IMAPUpgradeType
|
|
|
|
FE_PromptIMAPSubscriptionUpgrade(MWContext* context, const char *host)
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("FE_PromptIMAPSubscriptionUpgrade (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
XP_Bool
|
|
|
|
FE_CreateSubscribePaneOnHost(MSG_Master* master,
|
|
|
|
MWContext* parentContext,
|
|
|
|
MSG_Host* host)
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("FE_CreateSubscribePaneOnHost (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const char *
|
|
|
|
FE_UsersRealMailAddress()
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("FE_UsersRealMailAddress (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
FE_RememberPopPassword(MWContext* context,
|
|
|
|
const char* password)
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("FE_RememberPopPassword (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
XP_Bool
|
|
|
|
FE_NewsDownloadPrompt(MWContext *context,
|
|
|
|
int32 numMessagesToDownload,
|
|
|
|
XP_Bool *downloadAll)
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("FE_NewsDownloadPrompt (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
FE_MsgShowHeaders(MSG_Pane *pPane,
|
|
|
|
MSG_HEADER_SET mhsHeaders)
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("FE_MsgShowHeaders (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* If we're set up to deliver mail/news by running a program rather
|
|
|
|
than by talking to SMTP/NNTP, this does it.
|
|
|
|
|
|
|
|
Returns positive if delivery via program was successful;
|
|
|
|
Returns negative if delivery failed;
|
|
|
|
Returns 0 if delivery was not attempted (in which case we
|
|
|
|
should use SMTP/NNTP instead.)
|
|
|
|
|
|
|
|
$NS_MSG_DELIVERY_HOOK names a program which is invoked with one argument,
|
|
|
|
a tmp file containing a message. (Lines are terminated with CRLF.)
|
|
|
|
This program is expected to parse the To, CC, BCC, and Newsgroups headers,
|
|
|
|
and effect delivery to mail and/or news. It should exit with status 0
|
|
|
|
iff successful.
|
|
|
|
|
|
|
|
#### This really wants to be defined in libmsg, but it wants to
|
|
|
|
be able to use fe_perror, so...
|
|
|
|
*/
|
|
|
|
int
|
|
|
|
msg_DeliverMessageExternally(MWContext *context, const char *msg_file)
|
|
|
|
{
|
1998-10-02 03:01:01 +00:00
|
|
|
printf("msg_DeliverMessageExternally (empty)\n");
|
1998-09-09 01:15:49 +00:00
|
|
|
}
|