/* * Copyright (C) 2009 Rodney Cryderman * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program. If not, see . * * */ /* awn-overlay-pixbuf-file.h */ #ifndef _AWN_OVERLAY_PIXBUF_FILE #define _AWN_OVERLAY_PIXBUF_FILE #include #include "awn-overlay-pixbuf.h" #ifdef __cplusplus extern "C" { #endif #define AWN_TYPE_OVERLAY_PIXBUF_FILE awn_overlay_pixbuf_file_get_type() #define AWN_OVERLAY_PIXBUF_FILE(obj) \ (G_TYPE_CHECK_INSTANCE_CAST ((obj), AWN_TYPE_OVERLAY_PIXBUF_FILE, AwnOverlayPixbufFile)) #define AWN_OVERLAY_PIXBUF_FILE_CLASS(klass) \ (G_TYPE_CHECK_CLASS_CAST ((klass), AWN_TYPE_OVERLAY_PIXBUF_FILE, AwnOverlayPixbufFileClass)) #define AWN_IS_OVERLAY_PIXBUF_FILE(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AWN_TYPE_OVERLAY_PIXBUF_FILE)) #define AWN_IS_OVERLAY_PIXBUF_FILE_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE ((klass), AWN_TYPE_OVERLAY_PIXBUF_FILE)) #define AWN_OVERLAY_PIXBUF_FILE_GET_CLASS(obj) \ (G_TYPE_INSTANCE_GET_CLASS ((obj), AWN_TYPE_OVERLAY_PIXBUF_FILE, AwnOverlayPixbufFileClass)) typedef struct { AwnOverlayPixbuf parent; } AwnOverlayPixbufFile; typedef struct { AwnOverlayPixbufClass parent_class; } AwnOverlayPixbufFileClass; GType awn_overlay_pixbuf_file_get_type(void); AwnOverlayPixbufFile* awn_overlay_pixbuf_file_new(gchar* file_name); #ifdef __cplusplus } // extern "C" #endif #endif /* _AWN_OVERLAY_PIXBUF_FILE */