home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / xfe / src / BookmarkWhatsNewDialog.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  1.9 KB  |  63 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.    BookmarkWhatsNewDialog.h -- dialog for checking "What's New".
  20.    Created: Stephen Lamm <slamm@netscape.com>, 28-May-97.
  21.  */
  22.  
  23.  
  24.  
  25. #ifndef _xfe_bookmarkwhatsnewdialog_h
  26. #define _xfe_bookmarkwhatsnewdialog_h
  27.  
  28. #include "Dialog.h"
  29. #include "bkmks.h"
  30.  
  31. class XFE_BookmarkWhatsNewDialog : public XFE_Dialog
  32. {
  33. public:
  34.   XFE_BookmarkWhatsNewDialog(MWContext *context, Widget parent);
  35.  
  36.   virtual ~XFE_BookmarkWhatsNewDialog();
  37.  
  38.   void updateWhatsChanged(const char *url, int32 done, int32 total, const char *totaltime);
  39.   void finishedWhatsChanged(int32 totalchecked, int32 numreached, int32 numchanged);
  40.  
  41. private:
  42.   void close();
  43.   void apply();
  44.   void ok();
  45.   
  46.   static void destroy_cb(Widget widget,
  47.                          XtPointer closure, XtPointer call_data);
  48.   static void close_cb(Widget, XtPointer, XtPointer);
  49.   static void apply_cb(Widget, XtPointer, XtPointer);
  50.   static void ok_cb(Widget, XtPointer, XtPointer);
  51.  
  52.   MWContext *m_context;
  53.  
  54.   Widget m_text;
  55.  
  56.   Widget m_radioBox;
  57.   Widget m_doAll;
  58.   Widget m_doSelected;
  59. };
  60.  
  61.  
  62. #endif /* xfe_bookmarkwhatsnewdialog_h */
  63.