home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / xfe / src / SubscribeDialog.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  1.8 KB  |  59 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.    SubscribeDialog.h -- 4.x Subscribe UI dialog.
  20.    Created: Chris Toshok <toshok@netscape.com>, 16-Oct-96.
  21.  */
  22.  
  23.  
  24.  
  25. #ifndef _xfe_subscribedialog_h
  26. #define _xfe_subscribedialog_h
  27.  
  28. #include "ViewDialog.h"
  29. #include "SubscribeView.h"
  30. #include "Dashboard.h"
  31.  
  32. class XFE_SubscribeDialog : public XFE_ViewDialog
  33. {
  34. public:
  35.     XFE_SubscribeDialog(char *name, XFE_NotificationCenter *toplevel, Widget parent, MWContext *context, MSG_Host *host);
  36.     
  37.     virtual ~XFE_SubscribeDialog();
  38.  
  39.     void show();
  40.     XFE_CALLBACK_DECL(allConnectionsComplete)
  41.  
  42. protected:
  43.     Widget createButtonArea(Widget parent,
  44.                             Boolean ok, Boolean cancel,
  45.                             Boolean help, Boolean apply);
  46.     virtual void ok();
  47. private:
  48.     XFE_Dashboard *m_dashboard;
  49.     
  50.     XFE_NotificationCenter *m_toplevelNotifier;
  51.     XFE_NotificationCenter *m_oldForwarder;
  52.     Widget m_oldThermo;
  53.     Widget m_oldLogo;
  54. };
  55.  
  56. extern "C" void fe_showSubscribeDialog(XFE_NotificationCenter *toplevel, Widget parent, MWContext *context, MSG_Host *host = NULL);
  57.  
  58. #endif /* _xfe_subscribedialog_h */
  59.