Gtk_LdapTreeItem.h 501 Bytes
Newer Older
Kurt Zeilenga's avatar
Kurt Zeilenga committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef GTK_LDAPTREEITEM_H
#define GTK_LDAPTREEITEM_H
#include "gtk.h"
#include <My_Window.h>
#include <lber.h>
#include <ldap.h>

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_LdapTreeItem();
	Gtk_LdapTreeItem(char *c, My_Window *w);
	Gtk_LdapTreeItem(GtkTreeItem *t);
	int search();
	void select_impl();
	void collapse_impl();
	void expand_impl();
};
#endif