/* GQ -- a GTK-based LDAP client Copyright (C) 1998-2003 Bert Vermeulen Copyright (C) 2002-2003 Peter Stamfest This program is released under the Gnu General Public License with the additional exemption that compiling, linking, and/or using OpenSSL is allowed. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef GQ_REF_BROWSE_H_INCLUDED #define GQ_REF_BROWSE_H_INCLUDED #include "gq-browser-node.h" #include "gq-server.h" G_BEGIN_DECLS typedef struct _GqBrowserNodeReference GqBrowserNodeReference; typedef GqBrowserNodeClass GqBrowserNodeReferenceClass; #define GQ_TYPE_BROWSER_NODE_REFERENCE (gq_browser_node_reference_get_type()) #define GQ_BROWSER_NODE_REFERENCE(i) (G_TYPE_CHECK_INSTANCE_CAST((i), GQ_TYPE_BROWSER_NODE_REFERENCE, GqBrowserNodeReference)) #define GQ_BROWSER_NODE_REFERENCE_CLASS(c) (G_TYPE_CHECK_CLASS_CAST((c), GQ_TYPE_BROWSER_NODE_REFERENCE, GqBrowserNodeReferenceClass)) #define GQ_IS_BROWSER_NODE_REFERENCE(i) (G_TYPE_CHECK_INSTANCE_TYPE((i), GQ_TYPE_BROWSER_NODE_REFERENCE)) #define GQ_IS_BROWSER_NODE_REFERENCE_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE((c), GQ_TYPE_BROWSER_NODE_REFERENCE)) #define GQ_BROWSER_NODE_REFERENCE_GET_CLASS(i) (G_TYPE_INSTANCE_GET_CLASS((i), GQ_TYPE_BROWSER_NODE_REFERENCE, GqBrowserNodeReferenceClass)) GType gq_browser_node_reference_get_type(void); GqBrowserNode *gq_browser_node_reference_new(const char *uri); struct _GqBrowserNodeReference { GqBrowserNode base_instance; /* specific */ char *uri; GqServer *server; gboolean expanded; } ref_browse_entry; G_END_DECLS #endif /* Local Variables: c-basic-offset: 5 End: */