/* exif-mnote-data-priv.h
*
- * Copyright © 2003 Lutz Müller <lutz@users.sourceforge.net>
+ * Copyright (c) 2003 Lutz Mueller <lutz@users.sourceforge.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301 USA.
*/
#ifndef __EXIF_MNOTE_DATA_PRIV_H__
#include <libexif/exif-mnote-data.h>
#include <libexif/exif-byte-order.h>
+#include <libexif/exif-log.h>
+/*! \internal */
typedef struct _ExifMnoteDataMethods ExifMnoteDataMethods;
+
+/*! \internal */
struct _ExifMnoteDataMethods {
- /* Live cycle */
+ /* Life cycle */
void (* free) (ExifMnoteData *);
/* Modification */
/* Query */
unsigned int (* count) (ExifMnoteData *);
+ unsigned int (* get_id) (ExifMnoteData *, unsigned int);
const char * (* get_name) (ExifMnoteData *, unsigned int);
const char * (* get_title) (ExifMnoteData *, unsigned int);
const char * (* get_description) (ExifMnoteData *, unsigned int);
- char * (* get_value) (ExifMnoteData *, unsigned int);
+ char * (* get_value) (ExifMnoteData *, unsigned int, char *val, unsigned int maxlen);
};
+/*! \internal */
typedef struct _ExifMnoteDataPriv ExifMnoteDataPriv;
+/*! \internal */
struct _ExifMnoteData
{
+ ExifMnoteDataPriv *priv;
+
ExifMnoteDataMethods methods;
- ExifMnoteDataPriv *priv;
+ /* Logging */
+ ExifLog *log;
+
+ /* Memory management */
+ ExifMem *mem;
};
-void exif_mnote_data_construct (ExifMnoteData *);
+/*! \internal */
+void exif_mnote_data_construct (ExifMnoteData *, ExifMem *mem);
+
+/*! \internal */
void exif_mnote_data_set_byte_order (ExifMnoteData *, ExifByteOrder);
+
+/*! \internal */
void exif_mnote_data_set_offset (ExifMnoteData *, unsigned int);
#ifdef __cplusplus