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

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


#include <gtk/gtk.h>
#include <metadata.h>
#include <libmpd/libmpd.h>
#ifdef GMPC_BUILD 
#include <gmpc-connection.h>
#else
#include <gmpc/gmpc-connection.h>
#endif

#ifndef __GMPC_METAIMAGE_H__
#define __GMPC_METAIMAGE_H__

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


/*
 * Type checking and casting macros
 */
#define GMPC_TYPE_METAIMAGE	(gmpc_metaimage_get_type())
#define GMPC_METAIMAGE(obj)	G_TYPE_CHECK_INSTANCE_CAST((obj), gmpc_metaimage_get_type(), GmpcMetaImage)
#define GMPC_METAIMAGE_CONST(obj)	G_TYPE_CHECK_INSTANCE_CAST((obj), gmpc_metaimage_get_type(), GmpcMetaImage const)
#define GMPC_METAIMAGE_CLASS(klass)	G_TYPE_CHECK_CLASS_CAST((klass), gmpc_metaimage_get_type(), GmpcMetaImageClass)
#define GMPC_IS_METAIMAGE(obj)	G_TYPE_CHECK_INSTANCE_TYPE((obj), gmpc_metaimage_get_type ())

#define GMPC_METAIMAGE_GET_CLASS(obj)	G_TYPE_INSTANCE_GET_CLASS((obj), gmpc_metaimage_get_type(), GmpcMetaImageClass)

/* Private structure type */
typedef struct _GmpcMetaImagePrivate GmpcMetaImagePrivate;

/*
 * Main object structure
 */
#ifndef __TYPEDEF_GMPC_METAIMAGE__
#define __TYPEDEF_GMPC_METAIMAGE__
typedef struct _GmpcMetaImage GmpcMetaImage;
#endif
struct _GmpcMetaImage {
	GtkEventBox __parent__;
	/*< public >*/
	int size;
	MetaDataType image_type;
	MpdObj * connection;
	gboolean hide_on_na;
	gboolean squared;
	gchar * no_cover_icon;
	gchar * loading_cover_icon;
	gboolean scale_up;
	gboolean is_visible;
	/*< private >*/
	GmpcMetaImagePrivate *_priv;
};

/*
 * Class definition
 */
typedef struct _GmpcMetaImageClass GmpcMetaImageClass;
struct _GmpcMetaImageClass {
	GtkEventBoxClass __parent__;
};


/*
 * Public methods
 */
GType	gmpc_metaimage_get_type	(void) G_GNUC_CONST;
#line 104 "gmpc-metaimage.gob"
gint 	gmpc_metaimage_get_image_type	(GmpcMetaImage * self);
#line 77 "gmpc-metaimage.h"
#line 104 "gmpc-metaimage.gob"
void 	gmpc_metaimage_set_image_type	(GmpcMetaImage * self,
					gint val);
#line 81 "gmpc-metaimage.h"
#line 111 "gmpc-metaimage.gob"
gint 	gmpc_metaimage_get_size	(GmpcMetaImage * self);
#line 84 "gmpc-metaimage.h"
#line 111 "gmpc-metaimage.gob"
void 	gmpc_metaimage_set_size	(GmpcMetaImage * self,
					gint val);
#line 88 "gmpc-metaimage.h"
#line 118 "gmpc-metaimage.gob"
gboolean 	gmpc_metaimage_get_hide_on_na	(GmpcMetaImage * self);
#line 91 "gmpc-metaimage.h"
#line 118 "gmpc-metaimage.gob"
void 	gmpc_metaimage_set_hide_on_na	(GmpcMetaImage * self,
					gboolean val);
#line 95 "gmpc-metaimage.h"
#line 125 "gmpc-metaimage.gob"
gboolean 	gmpc_metaimage_get_scale_up	(GmpcMetaImage * self);
#line 98 "gmpc-metaimage.h"
#line 125 "gmpc-metaimage.gob"
void 	gmpc_metaimage_set_scale_up	(GmpcMetaImage * self,
					gboolean val);
#line 102 "gmpc-metaimage.h"
#line 137 "gmpc-metaimage.gob"
void 	gmpc_metaimage_set_no_cover_icon	(GmpcMetaImage * self,
					const gchar * name);
#line 106 "gmpc-metaimage.h"
#line 144 "gmpc-metaimage.gob"
void 	gmpc_metaimage_set_loading_cover_icon	(GmpcMetaImage * self,
					const gchar * name);
#line 110 "gmpc-metaimage.h"
#line 151 "gmpc-metaimage.gob"
void 	gmpc_metaimage_set_squared	(GmpcMetaImage * self,
					const gboolean item);
#line 114 "gmpc-metaimage.h"
#line 155 "gmpc-metaimage.gob"
void 	gmpc_metaimage_set_connection	(GmpcMetaImage * self,
					MpdObj * conn);
#line 118 "gmpc-metaimage.h"
#line 307 "gmpc-metaimage.gob"
GtkWidget * 	gmpc_metaimage_new_size	(int type,
					int size);
#line 122 "gmpc-metaimage.h"
#line 328 "gmpc-metaimage.gob"
GtkWidget * 	gmpc_metaimage_new	(int type);
#line 125 "gmpc-metaimage.h"
#line 345 "gmpc-metaimage.gob"
void 	gmpc_metaimage_update_cover	(GmpcMetaImage * self,
					MpdObj * mi,
					ChangedStatusType what,
					GmpcConnection * gc);
#line 131 "gmpc-metaimage.h"
#line 414 "gmpc-metaimage.gob"
void 	gmpc_metaimage_update_cover_from_song	(GmpcMetaImage * self,
					mpd_Song * song);
#line 135 "gmpc-metaimage.h"
#line 481 "gmpc-metaimage.gob"
void 	gmpc_metaimage_update_cover_from_song_delayed	(GmpcMetaImage * self,
					mpd_Song * song);
#line 139 "gmpc-metaimage.h"
#line 539 "gmpc-metaimage.gob"
void 	gmpc_metaimage_set_cover_na	(GmpcMetaImage * self);
#line 142 "gmpc-metaimage.h"
#line 596 "gmpc-metaimage.gob"
void 	gmpc_metaimage_set_cover_fetching	(GmpcMetaImage * self);
#line 145 "gmpc-metaimage.h"
#line 657 "gmpc-metaimage.gob"
void 	gmpc_metaimage_set_cover_from_path	(GmpcMetaImage * self,
					const gchar * path);
#line 149 "gmpc-metaimage.h"
#line 780 "gmpc-metaimage.gob"
void 	gmpc_metaimage_set_is_visible	(GmpcMetaImage * self,
					gboolean is_visible);
#line 153 "gmpc-metaimage.h"
#line 796 "gmpc-metaimage.gob"
void 	gmpc_metaimage_query_refetch	(GmpcMetaImage * self);
#line 156 "gmpc-metaimage.h"
#line 882 "gmpc-metaimage.gob"
void 	gmpc_metaimage_select_file	(GmpcMetaImage * self);
#line 159 "gmpc-metaimage.h"
#line 926 "gmpc-metaimage.gob"
void 	gmpc_metaimage_reload_image	(GmpcMetaImage * self);
#line 162 "gmpc-metaimage.h"
#line 958 "gmpc-metaimage.gob"
void 	gmpc_metaimage_set_image_text	(GmpcMetaImage * self,
					gchar * text);
#line 166 "gmpc-metaimage.h"

/*
 * Argument wrapping macros
 */
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
#define GMPC_METAIMAGE_PROP_IMAGE_TYPE(arg)    	"image_type", __extension__ ({gint z = (arg); z;})
#define GMPC_METAIMAGE_GET_PROP_IMAGE_TYPE(arg)	"image_type", __extension__ ({gint *z = (arg); z;})
#define GMPC_METAIMAGE_PROP_SIZE(arg)    	"size", __extension__ ({gint z = (arg); z;})
#define GMPC_METAIMAGE_GET_PROP_SIZE(arg)	"size", __extension__ ({gint *z = (arg); z;})
#define GMPC_METAIMAGE_PROP_HIDE_ON_NA(arg)    	"hide_on_na", __extension__ ({gboolean z = (arg); z;})
#define GMPC_METAIMAGE_GET_PROP_HIDE_ON_NA(arg)	"hide_on_na", __extension__ ({gboolean *z = (arg); z;})
#define GMPC_METAIMAGE_PROP_SCALE_UP(arg)    	"scale_up", __extension__ ({gboolean z = (arg); z;})
#define GMPC_METAIMAGE_GET_PROP_SCALE_UP(arg)	"scale_up", __extension__ ({gboolean *z = (arg); z;})
#define GMPC_METAIMAGE_PROP_SQUARED(arg)    	"squared", __extension__ ({gboolean z = (arg); z;})
#define GMPC_METAIMAGE_GET_PROP_SQUARED(arg)	"squared", __extension__ ({gboolean *z = (arg); z;})
#else /* __GNUC__ && !__STRICT_ANSI__ */
#define GMPC_METAIMAGE_PROP_IMAGE_TYPE(arg)    	"image_type",(gint )(arg)
#define GMPC_METAIMAGE_GET_PROP_IMAGE_TYPE(arg)	"image_type",(gint *)(arg)
#define GMPC_METAIMAGE_PROP_SIZE(arg)    	"size",(gint )(arg)
#define GMPC_METAIMAGE_GET_PROP_SIZE(arg)	"size",(gint *)(arg)
#define GMPC_METAIMAGE_PROP_HIDE_ON_NA(arg)    	"hide_on_na",(gboolean )(arg)
#define GMPC_METAIMAGE_GET_PROP_HIDE_ON_NA(arg)	"hide_on_na",(gboolean *)(arg)
#define GMPC_METAIMAGE_PROP_SCALE_UP(arg)    	"scale_up",(gboolean )(arg)
#define GMPC_METAIMAGE_GET_PROP_SCALE_UP(arg)	"scale_up",(gboolean *)(arg)
#define GMPC_METAIMAGE_PROP_SQUARED(arg)    	"squared",(gboolean )(arg)
#define GMPC_METAIMAGE_GET_PROP_SQUARED(arg)	"squared",(gboolean *)(arg)
#endif /* __GNUC__ && !__STRICT_ANSI__ */


#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif
