home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / xfe / src / PrefsMserverMore.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  2.5 KB  |  86 lines

  1. /* -*- Mode: C++; tab-width: 4; 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.    PrefsMserverMore.h -- Mail server "more" preference dialog 
  20.    Created: Linda Wei <lwei@netscape.com>, 23-Oct-96.
  21.  */
  22.  
  23.  
  24.  
  25. #ifndef _xfe_prefsmservermore_h
  26. #define _xfe_prefsmservermore_h
  27.  
  28. #include "Dialog.h"
  29. #include "PrefsDialog.h"
  30.  
  31. struct PrefsDataMserverMore
  32. {
  33.     MWContext *context;
  34.  
  35.     Widget     browse_button;
  36.     Widget     mail_dir_text;
  37.     Widget     imap_mail_dir_text;
  38.     Widget     imap_mail_local_dir_text;
  39.     Widget     imap_mail_local_dir_browse_button;
  40.     Widget     check_for_mail_toggle;
  41.     Widget     check_mail_interval_text;
  42.     //    Widget     enable_biff_toggle;
  43.     Widget     remember_email_passwd_toggle;
  44.     //    Widget     encrypted_passwd_toggle;
  45.     //    Widget     always_toggle;
  46.     //    Widget     never_toggle;
  47. };
  48.  
  49. class XFE_PrefsMserverMoreDialog : public XFE_Dialog
  50.  
  51. {
  52. public:
  53.  
  54.     // Constructors, Destructors
  55.  
  56.     XFE_PrefsMserverMoreDialog(XFE_PrefsDialog *prefsDialog,
  57.                                Widget           parent,    
  58.                                char            *name,  
  59.                                Boolean          modal = TRUE);
  60.  
  61.     virtual ~XFE_PrefsMserverMoreDialog();
  62.  
  63.     virtual void show();                // pop up dialog
  64.     void initPage();                    // initialize dialog
  65.     Boolean verifyPage();               // verify page
  66.     void installChanges();              // install changes
  67.     MWContext *getContext();            // return the context
  68.  
  69.     // Callbacks
  70.  
  71.     static void cb_ok(Widget, XtPointer, XtPointer);
  72.     static void cb_cancel(Widget, XtPointer, XtPointer);
  73.     static void cb_browseMailDir(Widget, XtPointer, XtPointer);
  74.     //    static void cb_toggleMapiServer(Widget, XtPointer, XtPointer);
  75.  
  76. private:
  77.  
  78.     // User data
  79.  
  80.     XFE_PrefsDialog              *m_prefsDialog;
  81.     PrefsDataMserverMore         *m_prefsDataMserverMore;
  82. };
  83.  
  84. #endif /* _xfe_prefsmservermore_h */
  85.  
  86.