2015-11-26 22:07:05 +00:00
|
|
|
/*
|
|
|
|
* Copyright © 2015 Red Hat, Inc
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Alexander Larsson <alexl@redhat.com>
|
|
|
|
*/
|
|
|
|
|
2016-05-06 14:37:47 +00:00
|
|
|
#if !defined (__FLATPAK_H_INSIDE__) && !defined (FLATPAK_COMPILATION)
|
2016-05-06 16:03:47 +00:00
|
|
|
#error "Only <flatpak.h> can be included directly."
|
2015-11-26 22:07:05 +00:00
|
|
|
#endif
|
|
|
|
|
2016-05-06 14:37:47 +00:00
|
|
|
#ifndef __FLATPAK_VERSION_MACROS_H__
|
|
|
|
#define __FLATPAK_VERSION_MACROS_H__
|
2015-11-26 22:07:05 +00:00
|
|
|
|
2016-05-06 14:37:47 +00:00
|
|
|
#define FLATPAK_MAJOR_VERSION (@FLATPAK_MAJOR_VERSION@)
|
|
|
|
#define FLATPAK_MINOR_VERSION (@FLATPAK_MINOR_VERSION@)
|
|
|
|
#define FLATPAK_MICRO_VERSION (@FLATPAK_MICRO_VERSION@)
|
2015-11-26 22:07:05 +00:00
|
|
|
|
2016-05-06 14:37:47 +00:00
|
|
|
#ifndef FLATPAK_EXTERN
|
|
|
|
#define FLATPAK_EXTERN extern
|
2015-11-26 22:07:05 +00:00
|
|
|
#endif
|
|
|
|
|
2016-03-25 04:42:41 +00:00
|
|
|
/**
|
2016-05-09 09:07:53 +00:00
|
|
|
* SECTION:flatpak-version-macros
|
2016-03-25 04:42:41 +00:00
|
|
|
* @Title: Version information
|
|
|
|
*/
|
|
|
|
|
2016-05-06 14:37:47 +00:00
|
|
|
#endif /* __FLATPAK_VERSION_MACROS_H__ */
|