home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / clients / xmh / toc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-07-17  |  2.9 KB  |  76 lines

  1. /*
  2.  * $XConsortium: toc.h,v 2.13 91/07/17 12:28:29 converse Exp $
  3.  *
  4.  *
  5.  *               COPYRIGHT 1987, 1989
  6.  *           DIGITAL EQUIPMENT CORPORATION
  7.  *               MAYNARD, MASSACHUSETTS
  8.  *            ALL RIGHTS RESERVED.
  9.  *
  10.  * THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND
  11.  * SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL EQUIPMENT CORPORATION.
  12.  * DIGITAL MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE FOR
  13.  * ANY PURPOSE.  IT IS SUPPLIED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
  14.  *
  15.  * IF THE SOFTWARE IS MODIFIED IN A MANNER CREATING DERIVATIVE COPYRIGHT
  16.  * RIGHTS, APPROPRIATE LEGENDS MAY BE PLACED ON THE DERIVATIVE WORK IN
  17.  * ADDITION TO THAT SET FORTH ABOVE.
  18.  *
  19.  * Permission to use, copy, modify, and distribute this software and its
  20.  * documentation for any purpose and without fee is hereby granted, provided
  21.  * that the above copyright notice appear in all copies and that both that
  22.  * copyright notice and this permission notice appear in supporting
  23.  * documentation, and that the name of Digital Equipment Corporation not be
  24.  * used in advertising or publicity pertaining to distribution of the software
  25.  * without specific, written prior permission.
  26.  */
  27.  
  28. #ifndef _toc_h
  29. #define _toc_h
  30.  
  31. extern void    TocInit            (/* void */);
  32. extern Toc    TocCreate        (/* char * */);
  33. extern Toc    TocCreateFolder        (/* char * */);
  34. extern int    TocHasMail        (/* Toc */);
  35. extern void    TocCheckForNewMail    (/* Boolean */);
  36. extern Boolean    TocTestAndSetDeletePending(/* Toc */);
  37. extern void    TocClearDeletePending    (/* Toc */);
  38. extern void    TocDeleteFolder        (/* Toc */);
  39. extern void    TocSetScrn        (/* Toc, Scrn */);
  40.  
  41. extern void    TocRemoveMsg        (/* Toc, Msg */);
  42. extern void    TocRecheckValidity    (/* Toc */);
  43. extern void    TocSetCurMsg        (/* Toc, Msg */);
  44. extern Msg    TocGetCurMsg        (/* Toc */);
  45. extern Msg    TocMsgAfter        (/* Toc, Msg */);
  46. extern Msg    TocMsgBefore        (/* Toc, Msg */);
  47. extern void    TocForceRescan        (/* Toc */);
  48.  
  49. extern void    TocReloadSeqLists    (/* Toc */);
  50. extern int    TocHasSequences        (/* Toc */);
  51. extern void    TocChangeViewedSeq    (/* Toc, Sequence */);
  52. extern Sequence    TocViewedSequence    (/* Toc */);
  53. extern Sequence    TocGetSeqNamed        (/* Toc, char * */);
  54. extern void    TocSetSelectedSequence    (/* Toc, Sequence */);
  55. extern Sequence    TocSelectedSequence    (/* Toc */);
  56.  
  57. extern MsgList    TocCurMsgList        (/* Toc */);
  58. extern void    TocUnsetSelection    (/* Toc */);
  59. extern Msg    TocMakeNewMsg        (/* Toc */);
  60. extern void    TocStopUpdate        (/* Toc */);
  61. extern void    TocStartUpdate        (/* Toc */);
  62. extern void    TocSetCacheValid    (/* Toc */);
  63.  
  64. extern char *    TocMakeFolderName    (/* Toc */);
  65. extern char *    TocName            (/* Toc */);
  66. extern Toc    TocGetNamed        (/* char* */);
  67.  
  68. extern int    TocConfirmCataclysm(/* Toc, XtCallbackList, XtCallbackList */);
  69. extern void    TocCommitChanges    (/* Widget, XtPointer, XtPointer */);
  70. extern int    TocCanIncorporate    (/* Toc */);
  71. extern int    TocIncorporate        (/* Toc */);
  72. extern void    TocMsgChanged        (/* Toc, Msg */);
  73. extern Msg    TocMsgFromId        (/* Toc, int */);
  74.  
  75. #endif /* _toc_h */
  76.