Loading...
Searching...
No Matches
Version.h
//
// DO NOT EDIT Version.h (this file)! It is generated from Version.h.in.
//
/*
* Copyright (C) 2013 Canonical Ltd
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3 as
* published by the Free Software Foundation.
*
* This program 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 program. If not, see <http://www.gnu.org/licenses/>.
*
* Authored by: Michi Henning <michi.henning@canonical.com>
*/
#include <lomiri/SymbolExport.h>
#ifndef LOMIRI_API_VERSION_H
#define LOMIRI_API_VERSION_H
#define LOMIRI_API_VERSION_MAJOR 0
#define LOMIRI_API_VERSION_MINOR 2
#define LOMIRI_API_VERSION_MICRO 0
#define LOMIRI_API_VERSION_STRING "0.2.0"
namespace lomiri
{
namespace api
{
LOMIRI_API
int major_version();
LOMIRI_API
int minor_version();
LOMIRI_API
int micro_version();
LOMIRI_API
const char* str(); // Returns "major.minor.micro"
// TODO: Add methods to report compiler version and compiler flags
} // namespace api
} // namespace lomiri
#endif
lomiri::api::micro_version
int micro_version()
Returns the micro version number of the Lomiri API library.
Definition Version.cpp:42
lomiri::api::str
const char * str()
Returns the Lomiri API version as a string in the format <major>.<minor>.<micro>.
Definition Version.cpp:48
lomiri::api::minor_version
int minor_version()
Returns the minor version number of the Lomiri API library.
Definition Version.cpp:36
lomiri::api::major_version
int major_version()
Returns the major version number of the Lomiri API library.
Definition Version.cpp:30
lomiri
Top-level namespace for all things Lomiri-related.
Definition Version.h:38