/*
 * Copyright 1994-1995 TriloBYTE Software Solutions.
 *
 * Author: Amen Zwa, TriloBYTE.
 */



// static char* sccsid = "XmWidget: %W%\t%G%\tAmen Zwa, TriloBYTE.";



// WSave.h: save question dialog class



#if !defined(WSAVE_H)
#define WSAVE_H

#include "WShl.h"
#include "WEtc.h"



enum {
    is_save_pbtn,
    is_dontsave_pbtn,
    is_cancel_pbtn
};



class WSave : public WDialogQst {
    XtCallbackProc cp;			// callback procedure
    XtPointer usrdata;			// user data passed to callback
    friend void cp_activate_sav(Widget w, XtPointer usr, XtPointer wgt);
    friend void cp_close_sav(Widget w, XtPointer usr, XtPointer wgt);
public:
    WSave(Widget par);
    // access functions
    void set_cp_activate(XtCallbackProc c, XtPointer u=0) {
	cp = c; usrdata = u; }
};

#endif	// WSAVE_H
