openldap/contrib/gtk-tool/My_Window.h

31 lines
663 B
C
Raw Normal View History

1998-11-25 02:01:09 +08:00
#ifndef MY_WINDOW_H
#define MY_WINDOW_H
#include "cpluscommon.h"
#include "gtk.h"
#include "Gtk_LdapServer.h"
#include "Gtk_LdapTreeItem.h"
1998-11-25 02:01:09 +08:00
extern int debug_level;
1998-11-25 02:01:09 +08:00
class My_Window : public Gtk_Window {
public:
Gtk_ScrolledWindow *scroller, *scroller2;
Gtk_Viewport *viewport, *viewport2;
1998-11-25 02:01:09 +08:00
Gtk_Entry *urlfield;
Gtk_Button *display_button;
Gtk_InputDialog *dialog;
1998-11-25 02:01:09 +08:00
Gtk_Paned *pane;
Gtk_MenuBar *menubar;
// Gtk_ProgressBar *progress;
Gtk_Statusbar *status;
1998-11-25 02:01:09 +08:00
My_Window(GtkWindowType t);
1998-11-29 04:25:09 +08:00
~My_Window();
int debug(const char *c,...);
1998-11-25 02:01:09 +08:00
void do_display();
void addServer();
void getHost();
void setDebug();
1998-11-25 02:01:09 +08:00
gint delete_event_impl(GdkEventAny *);
};
#endif