]> git.sur5r.net Git - openldap/blobdiff - contrib/gtk-tool/Gtk_LdapTreeItem.h
Add AC_CANONICAL_SYSTEM to generate $target
[openldap] / contrib / gtk-tool / Gtk_LdapTreeItem.h
index ee8f711a1e2f588ea5b75106cdcb581501677464..fe0a12bdab0bd59544b0e6293344d75e94967999 100644 (file)
@@ -1,13 +1,16 @@
 #ifndef GTK_LDAPTREEITEM_H
 #define GTK_LDAPTREEITEM_H
 #include "gtk.h"
+#include "utils.h"
 #include <My_Window.h>
+#include <Gtk_LdapTree.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/alias_node.h"
+#include "icons/rfc822mailgroup_node.h"
 #include "icons/general_node.h"
 
 #define ROOT_NODE 1
@@ -15,6 +18,7 @@
 #define LEAF_NODE 3
 
 class My_Window;
+class Gtk_LdapTree;
 
 class Gtk_LdapTreeItem : public Gtk_TreeItem {
 public:
@@ -27,12 +31,14 @@ public:
        Gtk_Notebook *notebook;
        Gtk_HBox *xpm_label;
        Gtk_LdapTreeItem();
-       Gtk_LdapTreeItem(char *c, My_Window *w);
+       Gtk_LdapTreeItem(char *c, My_Window *w, LDAP *ld);
        Gtk_LdapTreeItem(GtkTreeItem *t);
        ~Gtk_LdapTreeItem();
+       Gtk_LdapTree* getSubtree(LDAP *ld, int i);
        void setType(int t);
        int getDetails();
        int showDetails();
+//     void show_impl();
        void select_impl();
        void collapse_impl();
        void expand_impl();