home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / xfe / mailnews.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  2.4 KB  |  61 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.    mailnews.h --- includes for the X front end mail/news stuff.
  20.    Created: Terry Weissman <terry@netscape.com>, 20-Jun-95.
  21.  */
  22.  
  23.  
  24. #ifndef __xfe_mailnews_h_
  25. #define __xfe_mailnews_h_
  26.  
  27. #include "menu.h"  /* for fe_button */
  28.  
  29. extern void fe_msg_command(Widget, XtPointer, XtPointer);
  30. extern void fe_undo_cb(Widget, XtPointer, XtPointer);
  31. extern void fe_redo_cb(Widget, XtPointer, XtPointer);
  32. extern Boolean fe_folder_datafunc(Widget, void*, int row,
  33.                   fe_OutlineDesc* data, int tag);
  34. extern void fe_folder_clickfunc(Widget, void*, int row, int column,
  35.                 const char* header, int button, int clicks,
  36.                 Boolean shift, Boolean ctrl, int tag);
  37. extern void fe_folder_dropfunc(Widget dropw, void* closure, fe_dnd_Event,
  38.                    fe_dnd_Source*, XEvent* event);
  39. extern void fe_folder_iconfunc(Widget, void*, int row, int tag);
  40.  
  41. extern Boolean fe_message_datafunc(Widget, void*, int row,
  42.                    fe_OutlineDesc* data, int tag);
  43. extern void fe_message_clickfunc(Widget, void*, int row, int column,
  44.                  const char* header, int button, int clicks,
  45.                  Boolean shift, Boolean ctrl, int tag);
  46. extern void fe_message_dropfunc(Widget dropw, void* closure, fe_dnd_Event,
  47.                    fe_dnd_Source*, XEvent* event);
  48. extern void fe_message_iconfunc(Widget, void*, int row, int tag);
  49.  
  50. extern void fe_mn_getnewmail(Widget, XtPointer, XtPointer);
  51.  
  52. extern char* fe_mn_getmailbox(void);
  53.  
  54. /* setup routines for the 4.0 ui */
  55. extern Widget fe_mn_MakeMailNewsWindow(MWContext *context, Widget folder_parent, Widget toolbar);
  56.  
  57. /* function for getting the active message pane */
  58. extern MSG_Pane *fe_mn_GetActiveMessagePane(MWContext *context);
  59.  
  60. #endif /* __xfe_mailnews_h_ */
  61.