/************************************************************************/
/* Copyright 1998 MBARI							*/
/************************************************************************/
#ifndef _PREDIVEDIALOG_H
#define _PREDIVEDIALOG_H

#include <Vk/VkApp.h>
#include <Vk/VkSimpleWindow.h>

/* Have to undef OK (which is #define'd by VxWorks stuff), since
VkGenericDialog.h has an enum symbol called "OK" */
#undef OK
#include <Vk/VkGenericDialog.h>

#include "Predive.h"

/*
CLASS 
PrediveDialog

DESCRIPTION
Dialog which contains Predive object

AUTHOR
Tom O'Reilly
*/
class PrediveDialog : public VkGenericDialog
{
  public:

  PrediveDialog(const char *name)
    : VkGenericDialog(name) 
    {
    }
  
  Predive *predive;

  /* Callback should be public, so application can specify it when posting
     the dialog. */
  static void applyCallback(Widget parent, 
			    XtPointer clientData,
			    XtPointer callData);
  
  
  protected:
  
  virtual Widget createDialog(Widget parent);

  private:
  
};


#endif
