/*
 * ===========================
 * VDK Builder
 * Version 0.1.1
 * Revision 0.0
 * March 1999
 * ===========================
 *
 * Copyright (C) 1998,1999 Mario Motta
 * Developed by Mario Motta <mmotta@guest.net>
 *
 * Based on VDK Library 
 * Copyright (C) 1998, Mario Motta
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 * 02111-1307, USA.
 *
 */
#ifndef _vdkb_grep_form_h_
#define _vdkb_grep_form_h_
#include <vdk/vdk.h>
#include <vdk/FileDialog.h>
// Vdkb_execdlg FORM  CLASS
class VDKBGrepDlg: public VDKForm
{
 protected:
  FileStringArray* selections;
  char* match;
 public:
  VDKBGrepDlg(VDKForm* owner, char* title,
	      FileStringArray* selections, char* match );
  ~VDKBGrepDlg();
  void Setup(void);
 protected:
  VDKFrame*  Vframe1;
  VDKBox*  Vbox3;
  VDKTable*  Table1;
  VDKBox*  Vbox12;
  VDKLabel*  Label3;
  VDKBox*  Vbox13;
  VDKEntry*  TextMatchEntry;
  VDKBox*  Vbox14;
  VDKLabel*  Label2;
  VDKBox*  Vbox15;
  VDKBox*  Hbox18;
  VDKEntry*  FilesMatchEntry;
  VDKLabelButton*  BrowseButton;
  VDKBox*  Vbox16;
  VDKLabelButton*  ClearFilesButton;
  VDKBox*  Vbox17;
  VDKBox*  Hbox20;
  VDKLabelButton*  OkButton;
  VDKLabelButton*  CancelButton;
 public:
  DECLARE_SIGNAL_MAP(VDKBGrepDlg);
  bool OnBrowseButtonClick(VDKObject* sender);
  bool OnClearFilesButtonClick(VDKObject* sender);
  bool OnOkButtonClick(VDKObject* sender);
  bool OnCancelButtonClick(VDKObject* sender);
  
};
#endif
