~ubuntu-branches/ubuntu/vivid/libspectre/vivid-proposed

« back to all changes in this revision

Viewing changes to libspectre/spectre-version.h.in

  • Committer: Bazaar Package Importer
  • Author(s): Matthew Rosewarne
  • Date: 2008-01-06 21:58:55 UTC
  • Revision ID: james.westby@ubuntu.com-20080106215855-zmmkfhf4m3190zsj
Tags: upstream-0.2.0.ds
ImportĀ upstreamĀ versionĀ 0.2.0.ds

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* This file is part of Libspectre.
 
2
 *
 
3
 * Copyright (C) 2007 Albert Astals Cid <aacid@kde.org>
 
4
 * Copyright (C) 2007 Carlos Garcia Campos <carlosgc@gnome.org>
 
5
 *
 
6
 * Libspectre is free software; you can redistribute it and/or modify
 
7
 * it under the terms of the GNU General Public License as published by
 
8
 * the Free Software Foundation; either version 2, or (at your option)
 
9
 * any later version.
 
10
 *
 
11
 * Libspectre is distributed in the hope that it will be useful,
 
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
 * GNU General Public License for more details.
 
15
 *
 
16
 * You should have received a copy of the GNU General Public License
 
17
 * along with this program; if not, write to the Free Software
 
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
19
 */
 
20
 
 
21
#ifndef SPECTRE_VERSION_H
 
22
#define SPECTRE_VERSION_H
 
23
 
 
24
#include <libspectre/spectre-macros.h>
 
25
 
 
26
SPECTRE_BEGIN_DECLS
 
27
 
 
28
#define SPECTRE_MAJOR_VERSION @SPECTRE_MAJOR_VERSION@
 
29
#define SPECTRE_MINOR_VERSION @SPECTRE_MINOR_VERSION@
 
30
#define SPECTRE_MICRO_VERSION @SPECTRE_MICRO_VERSION@
 
31
 
 
32
#define SPECTRE_VERSION_STRING "@SPECTRE_VERSION@"
 
33
 
 
34
#define SPECTRE_VERSION ((@SPECTRE_MAJOR_VERSION@ << 16) | (@SPECTRE_MINOR_VERSION@ << 8) | (@SPECTRE_MICRO_VERSION@))
 
35
 
 
36
SPECTRE_END_DECLS
 
37
 
 
38
#endif /* SPECTRE_VERSION_H */