blob: e6d5a51a40ae31427a02b21a10734820ac6be041 [file] [log] [blame]
Piotr Krysikbb961c12017-08-24 15:35:42 +02001/* -*- c++ -*- */
2/*
3 * Copyright 2006,2009,2013 Free Software Foundation, Inc.
4 *
5 * This file is part of GNU Radio
6 *
7 * GNU Radio is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 3, or (at your option)
10 * any later version.
11 *
12 * GNU Radio is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with GNU Radio; see the file COPYING. If not, write to
19 * the Free Software Foundation, Inc., 51 Franklin Street,
20 * Boston, MA 02110-1301, USA.
21 */
22
23#if HAVE_CONFIG_H
24#include <config.h>
25#endif
26
27#include <stdlib.h>
28#include <grgsm/constants.h>
29
30namespace gr {
31 namespace gsm{
32 const std::string
33 build_date()
34 {
35 return "@BUILD_DATE@";
36 }
37
38 const std::string
39 version()
40 {
41 return "@VERSION@";
42 }
43
44 // Return individual parts of the version
45 const std::string
46 major_version()
47 {
48 return "@MAJOR_VERSION@";
49 }
50
51 const std::string
52 api_version()
53 {
54 return "@API_COMPAT@";
55 }
56
57 const std::string
58 minor_version()
59 {
60 return "@MINOR_VERSION@";
61 }
Piotr Krysikdea05742017-08-25 21:55:41 +020062
63 const std::string
64 maint_version()
65 {
66 return "@MAINT_VERSION@";
67 }
Piotr Krysikbb961c12017-08-24 15:35:42 +020068 } /* namespace gsm */
69} /* namespace gr */