openldap/contrib/gtk-tool/Gtk_LdapTreeItem.h

34 lines
641 B
C
Raw Normal View History

1998-11-25 02:01:09 +08:00
#ifndef GTK_LDAPTREEITEM_H
#define GTK_LDAPTREEITEM_H
#include "gtk.h"
#include <My_Window.h>
#include <lber.h>
#include <ldap.h>
/*#include "XPMLabelBox.h"*/
#define ROOT_NODE 1
#define BRANCH_NODE 2
#define LEAF_NODE 3
1998-11-25 02:01:09 +08:00
class My_Window;
class Gtk_LdapTreeItem : public Gtk_TreeItem {
public:
char *dn;
char *rdn;
LDAP *ld;
LDAPMessage *result_identifier;
My_Window *par;
Gtk_Notebook *notebook;
Gtk_HBox *xpm_label;
1998-11-25 02:01:09 +08:00
Gtk_LdapTreeItem();
Gtk_LdapTreeItem(char *c, My_Window *w);
Gtk_LdapTreeItem(GtkTreeItem *t);
void setType(int t);
int getDetails();
1998-11-25 02:01:09 +08:00
void select_impl();
void collapse_impl();
void expand_impl();
};
#endif