~ubuntu-branches/ubuntu/quantal/kipi-plugins/quantal

« back to all changes in this revision

Viewing changes to common/libkipiplugins/tools/kpwriteimage.h

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer, Alessandro Ghersi, Felix Geyer
  • Date: 2010-08-26 19:33:41 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20100826193341-oyh7rh1eamgk521i
Tags: 1.4.0-0ubuntu1
[ Alessandro Ghersi ]
* kipi-plugins-common replaces/conflicts kipi-plugins << 1.3.0

[ Felix Geyer ]
* New upstream bugfix release.
* Drop fix-ftbfs-glib-2.25.diff, applied upstream.
* Refresh sendimages-icedove.diff.
* Switch to source format 3.0 (quilt) so we can use bz2 upstream tarballs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 * Description : Kipi-Plugins shared library.
8
8
 *               Interface to write image data to common picture format.
9
9
 *
10
 
 * Copyright (C) 2007-2009 by Gilles Caulier <caulier dot gilles at gmail dot com>
 
10
 * Copyright (C) 2007-2010 by Gilles Caulier <caulier dot gilles at gmail dot com>
11
11
 *
12
12
 * This program is free software; you can redistribute it
13
13
 * and/or modify it under the terms of the GNU General
56
56
 
57
57
namespace KIPIPlugins
58
58
{
59
 
class KPWriteImagePriv;
60
59
 
61
60
class KIPIPLUGINS_EXPORT KPWriteImage
62
61
{
82
81
 
83
82
private:
84
83
 
85
 
    void   writeRawProfile(png_struct *ping, png_info *ping_info, char *profile_type,
86
 
                           char *profile_data, png_uint_32 length);
 
84
    void   writeRawProfile(png_struct* ping, png_info* ping_info, char* profile_type,
 
85
                           char* profile_data, png_uint_32 length);
87
86
 
88
 
    size_t concatenateString(char *destination, const char *source, const size_t length);
89
 
    size_t copyString(char *destination, const char *source, const size_t length);
90
 
    long   formatString(char *string, const size_t length, const char *format,...);
91
 
    long   formatStringList(char *string, const size_t length, const char *format, va_list operands);
 
87
    size_t concatenateString(char* destination, const char* source, const size_t length);
 
88
    size_t copyString(char* destination, const char* source, const size_t length);
 
89
    long   formatString(char* string, const size_t length, const char* format, ...);
 
90
    long   formatStringList(char* string, const size_t length, const char *format, va_list operands);
92
91
 
93
92
    void tiffSetExifAsciiTag(TIFF* tif, ttag_t tiffTag,
94
93
                             const KExiv2Iface::KExiv2& metadata,
104
103
 
105
104
private:
106
105
 
 
106
    class KPWriteImagePriv;
107
107
    KPWriteImagePriv* const d;
108
108
};
109
109