/* Generated by GOB (v2.0.17)   (do not edit directly) */

#include <glib.h>
#include <glib-object.h>


#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>

#ifndef __GMPC_MPDDATA_TREEVIEW_H__
#define __GMPC_MPDDATA_TREEVIEW_H__

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */




#define NUM_COLS 19
#define MOUSE_OFFSET 10
#define ENABLE_GRADIENT_LOOK 1
#define BACKGROUND_OPACITY 0.92
#define BOTTOM_GRADIENT_HEIGHT 30


/*
 * Type checking and casting macros
 */
#define GMPC_TYPE_MPDDATA_TREEVIEW	(gmpc_mpddata_treeview_get_type())
#define GMPC_MPDDATA_TREEVIEW(obj)	G_TYPE_CHECK_INSTANCE_CAST((obj), gmpc_mpddata_treeview_get_type(), GmpcMpdDataTreeview)
#define GMPC_MPDDATA_TREEVIEW_CONST(obj)	G_TYPE_CHECK_INSTANCE_CAST((obj), gmpc_mpddata_treeview_get_type(), GmpcMpdDataTreeview const)
#define GMPC_MPDDATA_TREEVIEW_CLASS(klass)	G_TYPE_CHECK_CLASS_CAST((klass), gmpc_mpddata_treeview_get_type(), GmpcMpdDataTreeviewClass)
#define GMPC_IS_MPDDATA_TREEVIEW(obj)	G_TYPE_CHECK_INSTANCE_TYPE((obj), gmpc_mpddata_treeview_get_type ())

#define GMPC_MPDDATA_TREEVIEW_GET_CLASS(obj)	G_TYPE_INSTANCE_GET_CLASS((obj), gmpc_mpddata_treeview_get_type(), GmpcMpdDataTreeviewClass)

/* Private structure type */
typedef struct _GmpcMpdDataTreeviewPrivate GmpcMpdDataTreeviewPrivate;

/*
 * Main object structure
 */
#ifndef __TYPEDEF_GMPC_MPDDATA_TREEVIEW__
#define __TYPEDEF_GMPC_MPDDATA_TREEVIEW__
typedef struct _GmpcMpdDataTreeview GmpcMpdDataTreeview;
#endif
struct _GmpcMpdDataTreeview {
	GtkTreeView __parent__;
	/*< private >*/
	GmpcMpdDataTreeviewPrivate *_priv;
};

/*
 * Class definition
 */
typedef struct _GmpcMpdDataTreeviewClass GmpcMpdDataTreeviewClass;
struct _GmpcMpdDataTreeviewClass {
	GtkTreeViewClass __parent__;
	/*signal*/void (* paste_before) (GmpcMpdDataTreeview * self, GList * items);
	/*signal*/void (* paste_after) (GmpcMpdDataTreeview * self, const GList * items);
	/*signal*/void (* cut) (GmpcMpdDataTreeview * self);
};


/*
 * Public methods
 */
GType	gmpc_mpddata_treeview_get_type	(void) G_GNUC_CONST;
#line 161 "gmpc-mpddata-treeview.gob"
GtkWidget * 	gmpc_mpddata_treeview_new	(const char * name,
					gboolean sort,
					GtkTreeModel * model);
#line 75 "gmpc-mpddata-treeview.h"
#line 371 "gmpc-mpddata-treeview.gob"
void 	gmpc_mpddata_treeview_edit_columns	(GmpcMpdDataTreeview * self);
#line 78 "gmpc-mpddata-treeview.h"
#line 749 "gmpc-mpddata-treeview.gob"
void 	gmpc_mpddata_treeview_enable_click_fix	(GmpcMpdDataTreeview * self);
#line 81 "gmpc-mpddata-treeview.h"
#line 760 "gmpc-mpddata-treeview.gob"
void 	gmpc_mpddata_treeview_paste_before	(GmpcMpdDataTreeview * self,
					GList * items);
#line 85 "gmpc-mpddata-treeview.h"
#line 766 "gmpc-mpddata-treeview.gob"
void 	gmpc_mpddata_treeview_paste_after	(GmpcMpdDataTreeview * self,
					const GList * items);
#line 89 "gmpc-mpddata-treeview.h"
#line 771 "gmpc-mpddata-treeview.gob"
void 	gmpc_mpddata_treeview_cut	(GmpcMpdDataTreeview * self);
#line 92 "gmpc-mpddata-treeview.h"
#line 927 "gmpc-mpddata-treeview.gob"
int 	gmpc_mpddata_treeview_right_mouse_intergration	(GmpcMpdDataTreeview * self,
					GtkMenu * menu);
#line 96 "gmpc-mpddata-treeview.h"
#line 1032 "gmpc-mpddata-treeview.gob"
void 	gmpc_mpddata_treeview_cleanup	(void);
#line 99 "gmpc-mpddata-treeview.h"

/*
 * Signal connection wrapper macros
 */
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
#define gmpc_mpddata_treeview_connect__paste_before(object,func,data)	g_signal_connect(GMPC_MPDDATA_TREEVIEW(__extension__ ({GmpcMpdDataTreeview *___object = (object); ___object; })),"paste_before",(GCallback) __extension__ ({void (* ___paste_before) (GmpcMpdDataTreeview * ___fake___self, GList * ___fake___items, gpointer ___data ) = (func); ___paste_before; }), (data))
#define gmpc_mpddata_treeview_connect_after__paste_before(object,func,data)	g_signal_connect_after(GMPC_MPDDATA_TREEVIEW(__extension__ ({GmpcMpdDataTreeview *___object = (object); ___object; })),"paste_before",(GCallback) __extension__ ({void (* ___paste_before) (GmpcMpdDataTreeview * ___fake___self, GList * ___fake___items, gpointer ___data ) = (func); ___paste_before; }), (data))
#define gmpc_mpddata_treeview_connect_data__paste_before(object,func,data,destroy_data,flags)	g_signal_connect_data(GMPC_MPDDATA_TREEVIEW(__extension__ ({GmpcMpdDataTreeview *___object = (object); ___object; })),"paste_before",(GCallback) __extension__ ({void (* ___paste_before) (GmpcMpdDataTreeview * ___fake___self, GList * ___fake___items, gpointer ___data ) = (func); ___paste_before; }), (data), (destroy_data), (GConnectFlags)(flags))
#define gmpc_mpddata_treeview_connect__paste_after(object,func,data)	g_signal_connect(GMPC_MPDDATA_TREEVIEW(__extension__ ({GmpcMpdDataTreeview *___object = (object); ___object; })),"paste_after",(GCallback) __extension__ ({void (* ___paste_after) (GmpcMpdDataTreeview * ___fake___self, const GList * ___fake___items, gpointer ___data ) = (func); ___paste_after; }), (data))
#define gmpc_mpddata_treeview_connect_after__paste_after(object,func,data)	g_signal_connect_after(GMPC_MPDDATA_TREEVIEW(__extension__ ({GmpcMpdDataTreeview *___object = (object); ___object; })),"paste_after",(GCallback) __extension__ ({void (* ___paste_after) (GmpcMpdDataTreeview * ___fake___self, const GList * ___fake___items, gpointer ___data ) = (func); ___paste_after; }), (data))
#define gmpc_mpddata_treeview_connect_data__paste_after(object,func,data,destroy_data,flags)	g_signal_connect_data(GMPC_MPDDATA_TREEVIEW(__extension__ ({GmpcMpdDataTreeview *___object = (object); ___object; })),"paste_after",(GCallback) __extension__ ({void (* ___paste_after) (GmpcMpdDataTreeview * ___fake___self, const GList * ___fake___items, gpointer ___data ) = (func); ___paste_after; }), (data), (destroy_data), (GConnectFlags)(flags))
#define gmpc_mpddata_treeview_connect__cut(object,func,data)	g_signal_connect(GMPC_MPDDATA_TREEVIEW(__extension__ ({GmpcMpdDataTreeview *___object = (object); ___object; })),"cut",(GCallback) __extension__ ({void (* ___cut) (GmpcMpdDataTreeview * ___fake___self, gpointer ___data ) = (func); ___cut; }), (data))
#define gmpc_mpddata_treeview_connect_after__cut(object,func,data)	g_signal_connect_after(GMPC_MPDDATA_TREEVIEW(__extension__ ({GmpcMpdDataTreeview *___object = (object); ___object; })),"cut",(GCallback) __extension__ ({void (* ___cut) (GmpcMpdDataTreeview * ___fake___self, gpointer ___data ) = (func); ___cut; }), (data))
#define gmpc_mpddata_treeview_connect_data__cut(object,func,data,destroy_data,flags)	g_signal_connect_data(GMPC_MPDDATA_TREEVIEW(__extension__ ({GmpcMpdDataTreeview *___object = (object); ___object; })),"cut",(GCallback) __extension__ ({void (* ___cut) (GmpcMpdDataTreeview * ___fake___self, gpointer ___data ) = (func); ___cut; }), (data), (destroy_data), (GConnectFlags)(flags))
#else /* __GNUC__ && !__STRICT_ANSI__ */
#define gmpc_mpddata_treeview_connect__paste_before(object,func,data)	g_signal_connect(GMPC_MPDDATA_TREEVIEW(object),"paste_before",(GCallback)(func),(data))
#define gmpc_mpddata_treeview_connect_after__paste_before(object,func,data)	g_signal_connect_after(GMPC_MPDDATA_TREEVIEW(object),"paste_before",(GCallback)(func),(data))
#define gmpc_mpddata_treeview_connect_data__paste_before(object,func,data,destroy_data,flags)	g_signal_connect_data(GMPC_MPDDATA_TREEVIEW(object),"paste_before",(GCallback)(func),(data),(destroy_data),(GConnectFlags)(flags))
#define gmpc_mpddata_treeview_connect__paste_after(object,func,data)	g_signal_connect(GMPC_MPDDATA_TREEVIEW(object),"paste_after",(GCallback)(func),(data))
#define gmpc_mpddata_treeview_connect_after__paste_after(object,func,data)	g_signal_connect_after(GMPC_MPDDATA_TREEVIEW(object),"paste_after",(GCallback)(func),(data))
#define gmpc_mpddata_treeview_connect_data__paste_after(object,func,data,destroy_data,flags)	g_signal_connect_data(GMPC_MPDDATA_TREEVIEW(object),"paste_after",(GCallback)(func),(data),(destroy_data),(GConnectFlags)(flags))
#define gmpc_mpddata_treeview_connect__cut(object,func,data)	g_signal_connect(GMPC_MPDDATA_TREEVIEW(object),"cut",(GCallback)(func),(data))
#define gmpc_mpddata_treeview_connect_after__cut(object,func,data)	g_signal_connect_after(GMPC_MPDDATA_TREEVIEW(object),"cut",(GCallback)(func),(data))
#define gmpc_mpddata_treeview_connect_data__cut(object,func,data,destroy_data,flags)	g_signal_connect_data(GMPC_MPDDATA_TREEVIEW(object),"cut",(GCallback)(func),(data),(destroy_data),(GConnectFlags)(flags))
#endif /* __GNUC__ && !__STRICT_ANSI__ */


#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif
