home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / xfe / src / ABSearchDlg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  1.6 KB  |  62 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.    ABSearchDlg.h -- class definition for XFE_ABSearchDlg
  20.    Created: Tao Cheng <tao@netscape.com>, 22-oct-97
  21.  */
  22.  
  23. #ifndef _ABSEARCHDLG_H_
  24. #define _ABSEARCHDLG_H_
  25.  
  26. #include "ViewDialog.h"
  27. #include "ABSearchView.h"
  28.  
  29. class XFE_ABSearchDlg: public XFE_ViewDialog 
  30. {
  31.  
  32. public:
  33.  
  34.     XFE_ABSearchDlg(Widget          parent,
  35.                     char           *name,
  36.                     Boolean         modal,
  37.                     MWContext      *context,
  38.                     ABSearchInfo_t *info);
  39.  
  40.     ~XFE_ABSearchDlg();
  41.     
  42.     void            setParams(ABSearchInfo_t *info);
  43.  
  44.     virtual void cancel();
  45.  
  46.     //
  47.     XFE_CALLBACK_DECL(dlgClose)
  48.  
  49. protected:
  50.     virtual void ok();
  51.  
  52. };
  53.  
  54. /* C API
  55.  */
  56. extern "C"  void
  57. fe_showABSearchDlg(Widget          toplevel, 
  58.                    MWContext      *context,
  59.                    ABSearchInfo_t *info);
  60.  
  61. #endif /* _ABSEARCHDLG_H_ */
  62.