1 /* 2 * Copyright (C) 2007 - 2011 Vivien Malerba <malerba@gnome-db.org> 3 * 4 * This library is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Lesser General Public 6 * License as published by the Free Software Foundation; either 7 * version 2 of the License, or (at your option) any later version. 8 * 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * Lesser General Public License for more details. 13 * 14 * You should have received a copy of the GNU Lesser General Public 15 * License along with this library; if not, write to the 16 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 17 * Boston, MA 02110-1301, USA. 18 */ 19 20 #ifndef __GDA_DIR_BLOB_OP_H__ 21 #define __GDA_DIR_BLOB_OP_H__ 22 23 #ifndef __GDA_INTERNAL__ 24 #error Do not include this file directly 25 #endif 26 27 #include <libgda/gda-value.h> 28 #include <libgda/gda-blob-op.h> 29 30 G_BEGIN_DECLS 31 32 #define GDA_TYPE_DIR_BLOB_OP (_gda_dir_blob_op_get_type()) 33 #define GDA_DIR_BLOB_OP(obj) (G_TYPE_CHECK_INSTANCE_CAST (obj, GDA_TYPE_DIR_BLOB_OP, GdaDirBlobOp)) 34 #define GDA_DIR_BLOB_OP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klass, GDA_TYPE_DIR_BLOB_OP, GdaDirBlobOpClass)) 35 #define GDA_IS_DIR_BLOB_OP(obj) (G_TYPE_CHECK_INSTANCE_TYPE (obj, GDA_TYPE_DIR_BLOB_OP)) 36 #define GDA_IS_DIR_BLOB_OP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDA_TYPE_DIR_BLOB_OP)) 37 38 typedef struct _GdaDirBlobOp GdaDirBlobOp; 39 typedef struct _GdaDirBlobOpClass GdaDirBlobOpClass; 40 typedef struct _GdaDirBlobOpPrivate GdaDirBlobOpPrivate; 41 42 struct _GdaDirBlobOp { 43 GdaBlobOp parent; 44 GdaDirBlobOpPrivate *priv; 45 }; 46 47 struct _GdaDirBlobOpClass { 48 GdaBlobOpClass parent_class; 49 }; 50 51 GType _gda_dir_blob_op_get_type (void) G_GNUC_CONST; 52 GdaBlobOp *_gda_dir_blob_op_new (const gchar *complete_filename); 53 void _gda_dir_blob_set_filename (GdaDirBlobOp *blob, const gchar *complete_filename); 54 const gchar *_gda_dir_blob_get_filename (GdaDirBlobOp *blob); 55 56 G_END_DECLS 57 58 #endif 59 60