]> git.sur5r.net Git - openldap/blobdiff - contrib/gtk-tool/Gtk_LdapTreeItem.h
Update contrib software.
[openldap] / contrib / gtk-tool / Gtk_LdapTreeItem.h
index 1e728ef3375572a0ea81d1c3acc205c9f8dcd3fc..ee8f711a1e2f588ea5b75106cdcb581501677464 100644 (file)
@@ -4,6 +4,15 @@
 #include <My_Window.h>
 #include <lber.h>
 #include <ldap.h>
+/*#include "XPMLabelBox.h"*/
+#include "icons/root_node.h"
+#include "icons/branch_node.h"
+#include "icons/leaf_node.h"
+#include "icons/general_node.h"
+
+#define ROOT_NODE 1
+#define BRANCH_NODE 2
+#define LEAF_NODE 3
 
 class My_Window;
 
@@ -11,14 +20,19 @@ class Gtk_LdapTreeItem : public Gtk_TreeItem {
 public:
        char *dn;
        char *rdn;
+       char *objectClass;
        LDAP *ld;
        LDAPMessage *result_identifier;
        My_Window *par;
        Gtk_Notebook *notebook;
+       Gtk_HBox *xpm_label;
        Gtk_LdapTreeItem();
        Gtk_LdapTreeItem(char *c, My_Window *w);
        Gtk_LdapTreeItem(GtkTreeItem *t);
-       int search();
+       ~Gtk_LdapTreeItem();
+       void setType(int t);
+       int getDetails();
+       int showDetails();
        void select_impl();
        void collapse_impl();
        void expand_impl();