#include "mwindow.h"
#include "mwindowgui.h"
#include "recconfirmdelete.h"


#include <libintl.h>
#define _(String) gettext(String)
#define gettext_noop(String) String
#define N_(String) gettext_noop (String)


RecConfirmDelete::RecConfirmDelete(MWindow *mwindow)
 : BC_Window(PROGRAM_NAME ": Confirm", 
 	mwindow->gui->get_abs_cursor_x(1),
	mwindow->gui->get_abs_cursor_y(1),
 	320, 100)
{
}

RecConfirmDelete::~RecConfirmDelete()
{
}

int RecConfirmDelete::create_objects(char *string)
{
	char string2[256];
	int x = 10, y = 10;
	sprintf(string2, _("Delete this file and %s?"), string);
	add_subwindow(new BC_Title(x, y, string2));
	y += 30;
	add_subwindow(new BC_OKButton(x, y));
	x = get_w() - 100;
	add_subwindow(new BC_CancelButton(x, y));
	return 0;
}











