~ubuntu-branches/ubuntu/intrepid/graphicsmagick/intrepid

« back to all changes in this revision

Viewing changes to magick/version.h.in

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2006-05-06 16:28:08 UTC
  • Revision ID: james.westby@ubuntu.com-20060506162808-vt2ni3r5nytcszms
Tags: upstream-1.1.7
ImportĀ upstreamĀ versionĀ 1.1.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  Copyright (C) 2003 GraphicsMagick Group
 
3
  Copyright (C) 2002 ImageMagick Studio
 
4
  Copyright 1991-1999 E. I. du Pont de Nemours and Company
 
5
 
 
6
  This program is covered by multiple licenses, which are described in
 
7
  Copyright.txt. You should have received a copy of Copyright.txt with this
 
8
  package; otherwise see http://www.graphicsmagick.org/www/Copyright.html.
 
9
 
 
10
  GraphicsMagick version and copyright.
 
11
*/
 
12
#ifndef _MAGICK_VERSION_H
 
13
#define _MAGICK_VERSION_H
 
14
 
 
15
#if defined(__cplusplus) || defined(c_plusplus)
 
16
extern "C" {
 
17
#endif
 
18
 
 
19
/*
 
20
  Define declarations.
 
21
 
 
22
  MagickLibVersion and MagickLibVersionNumber are defined differently
 
23
  than they are in ImageMagick. The three fields are based on library
 
24
  interface versioning.  Each field in MagickLibVersion is one byte.
 
25
  The most significant field (third byte from the right) defines the
 
26
  library major interface, which is incremented whenever the library
 
27
  ABI changes incompatibly with preceding versions. The second field
 
28
  identifies an interface in a series of upward-compatible interfaces
 
29
  with the same major interface (such as when only new functions have)
 
30
  been added. The least significant field specifies the revision across
 
31
  100% compatible interfaces.
 
32
 
 
33
  MagickLibVersionText provides a simple human-readable string for
 
34
  identifying the release.
 
35
*/
 
36
#define MagickPackageName "@PACKAGE_NAME@"
 
37
#define MagickCopyright  "Copyright (C) 2002-2005 GraphicsMagick Group. Additional copyrights and licenses apply to this software, see http://www.GraphicsMagick.org/www/Copyright.html"
 
38
#define MagickLibVersion  @MAGICK_LIB_VERSION@
 
39
#define MagickLibVersionText  "@MAGICK_LIB_VERSION_TEXT@"
 
40
#define MagickLibVersionNumber @MAGICK_LIB_VERSION_NUMBER@
 
41
#define MagickChangeDate   "@PACKAGE_CHANGE_DATE@"
 
42
#define MagickReleaseDate  "@PACKAGE_RELEASE_DATE@"
 
43
 
 
44
 
 
45
#if (QuantumDepth == 8)
 
46
#define MagickQuantumDepth  "Q8"
 
47
#elif (QuantumDepth == 16)
 
48
#define MagickQuantumDepth  "Q16"
 
49
#elif (QuantumDepth == 32)
 
50
#define MagickQuantumDepth  "Q32"
 
51
#else
 
52
# error Unsupported quantum depth.
 
53
#endif
 
54
 
 
55
#define MagickVersion MagickPackageName " " MagickLibVersionText " " \
 
56
  MagickReleaseDate " " MagickQuantumDepth " " MagickWebSite
 
57
#define MagickWebSite  "http://www." MagickPackageName ".org/"
 
58
 
 
59
/*
 
60
  Method declarations.
 
61
*/
 
62
extern MagickExport const char
 
63
  *GetMagickCopyright(void),
 
64
  *GetMagickVersion(unsigned long *),
 
65
  *GetMagickWebSite(void);
 
66
 
 
67
#if defined(__cplusplus) || defined(c_plusplus)
 
68
}
 
69
#endif
 
70
 
 
71
#endif