home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / powergui / debug / tracebox / filtdlg.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-29  |  1.6 KB  |  63 lines

  1. #ifndef _FILTDLG_
  2. #define _FILTDLG_
  3. //************************************************************
  4. // Problem Determination  - Trace Queue Browser
  5. //
  6. // Copyright (C) 1994, Law, Leong, Love, Olson, Tsuji.
  7. // Copyright (c) 1997 John Wiley & Sons, Inc. 
  8. // All Rights Reserved.
  9. //************************************************************
  10.  
  11. #include <iframe.hpp>
  12. #include <ientryfd.hpp>
  13. #include <icheckbx.hpp>
  14. #include <ilistbox.hpp>
  15. #include <imcelcv.hpp>
  16. #include <ipushbut.hpp>
  17. #include <iset.h>
  18. #include <isetcv.hpp>
  19. #include <istattxt.hpp>
  20. #include <istring.hpp>
  21.  
  22. class FilterSet : public ISet<IString> {
  23. public:
  24.    FilterSet( ) : isExcludeList(true) {}
  25.    Boolean isExcludeList;
  26. };
  27.  
  28. class FilterCommandHandler;
  29. class FilterEditHandler;
  30. class FilterSelectHandler;
  31.  
  32. class FilterDialog  : public IFrameWindow {
  33. public:
  34.   FilterDialog( FilterSet& filterset, IWindow* owner );
  35.   ~FilterDialog( );
  36.  
  37. private:
  38.   FilterSet&         ffilterset;
  39.   IMultiCellCanvas   fcanvas;
  40.   ICheckBox          fisExclude;
  41.   IStaticText        flabel;
  42.   IEntryField        fentry;
  43.   IListBox           flist;
  44.   ISetCanvas         fbuttons1;
  45.   IPushButton        fadd;
  46.   IPushButton        fremove;
  47.   ISetCanvas         fbuttons2;
  48.   IPushButton        fok;
  49.   IPushButton        fcancel;
  50.   FilterCommandHandler* fcmdhdr;
  51.   FilterSelectHandler*  fselhdr;
  52.   FilterEditHandler*    fedithdr;
  53.  
  54.   friend class FilterCommandHandler;
  55.   friend class FilterEditHandler;
  56.   friend class FilterSelectHandler;
  57.  
  58.   FilterDialog                (const FilterDialog&);
  59.   FilterDialog     operator=  (const FilterDialog&);
  60. };
  61.  
  62. #endif
  63.