Sophie

Sophie

distrib > Mandriva > cooker > i586 > by-pkgid > 0a6e7da7c1280f0f9d531d0d9573351f > files > 37

d4x-debug-2.5.7.1-7mdv2011.0.i586.rpm

/*	WebDownloader for X-Window
 *	Copyright (C) 1999-2002 Koshelev Maxim
 *	This Program is free but not GPL!!! You can't modify it
 *	without agreement with author. You can't distribute modified
 *	program but you can distribute unmodified program.
 *
 *	This program 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.
 */
#ifndef MY_GTK_ABOUT
#define MY_GTK_ABOUT

void init_about_window(...);
void destroy_about_window();

struct tDialog{
	GtkWidget *window;
	GtkWidget *ok_button;
	tDialog();
	virtual void done();
	void set_modal(GtkWidget *window);
	virtual ~tDialog();
};

struct tDialogWidget:public tDialog{
	GtkWidget *label;
	GtkWidget *cancel_button;
	GtkWidget *mainvbox;
	tDialogWidget();
	virtual int init(char *ask,char *title);
	~tDialogWidget();
	protected:
	virtual void create(char *ask,char *title);
};

struct tStringDialog:public tDialog{
	GtkWidget *entry;
	GtkWidget *frame;
	tStringDialog();
	int init(char *str,char *title,char *frame_title=(char *)NULL);
	~tStringDialog();
};

struct tConfirmedDialog:public tDialogWidget{
	GtkWidget *check;
	tConfirmedDialog();
	int init(char *ask,char *title);
	~tConfirmedDialog();
};

#endif