home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Mail / mailapp-utilities-2.1-MIHS / Source / MailProxy.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-14  |  1.2 KB  |  57 lines

  1. /*+++*
  2.  *  title:    MailProxy.h
  3.  *  abstract:    Interface of MailProxy for mailapp-utilities.
  4.  *  author:    Tom Hageman <tom@basil.icce.rug.nl>
  5.  *  created:    February 1998
  6.  *  modified:    (see RCS Log at end)
  7.  *  copyright:
  8.  *
  9.  *    Copyright (C) 1998  Tom R. Hageman, but otherwise perfect freeware.
  10.  *
  11.  *  description:
  12.  *
  13.  *      This module defines the following classes:
  14.  *      - MailProxy
  15.  *---*/
  16.  
  17. #ifdef RCS_MailProxy_ID
  18. static const char * const RCS_h_id = ((void)&RCS_h_id,
  19.     "@(#)MailProxy.h,v 1.1 1998/02/14 17:34:36");
  20. #endif
  21.  
  22. #import "compat.h"
  23.  
  24. @interface MailProxy : ROOT_OBJECT
  25. {
  26.    // Keep instance variables private to outside world.
  27. #ifdef _MailProxy_ivars
  28.    _MailProxy_ivars
  29. #endif
  30. }
  31.  
  32. // Implementation feature tests.
  33. + (BOOL)canEditMessage;
  34. + (BOOL)canIncorporateNewMail;
  35.  
  36. - initWithMailer:(const char *)aMailer
  37.    host:(const char *)aHostName
  38.    forceLaunch:(BOOL)force;
  39.  
  40. #if NEXTSTEP
  41. - (void)release;
  42. #endif
  43.  
  44. - (const char *)hostname;
  45. - (const char *)mailer;
  46. - (BOOL)isConnected;
  47.  
  48. - (BOOL)sendMailTo:(const char *)to
  49.    subject:(const char *)subject
  50.    body:(const char *)body
  51.    cc:(const char *)cc 
  52.    deliver:(BOOL)deliver;
  53.  
  54. - (BOOL)incorporateNewMail;
  55.  
  56. @end // MailProxy
  57.