~goby-dev/goby/2.0

530 by Toby Schneider
Changed header on all files to reflect change in license to GPL/LGPL2
1
// Copyright 2009-2014 Toby Schneider (https://launchpad.net/~tes)
2
//                     GobySoft, LLC (2013-)
3
//                     Massachusetts Institute of Technology (2007-2014)
303 by Toby Schneider
1. Changed license terms to LGPL for libraries (GPL still for binaries); 2. fixed bugs in examples
4
//                     Goby Developers Team (https://launchpad.net/~goby-dev)
5
// 
6
//
7
// This file is part of the Goby Underwater Autonomy Project Libraries
8
// ("The Goby Libraries").
9
//
10
// The Goby Libraries are free software: you can redistribute them and/or modify
11
// them under the terms of the GNU Lesser General Public License as published by
530 by Toby Schneider
Changed header on all files to reflect change in license to GPL/LGPL2
12
// the Free Software Foundation, either version 2.1 of the License, or
303 by Toby Schneider
1. Changed license terms to LGPL for libraries (GPL still for binaries); 2. fixed bugs in examples
13
// (at your option) any later version.
14
//
15
// The Goby Libraries are distributed in the hope that they will be useful,
16
// but WITHOUT ANY WARRANTY; without even the implied warranty of
17
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
// GNU Lesser General Public License for more details.
19
//
20
// You should have received a copy of the GNU Lesser General Public License
21
// along with Goby.  If not, see <http://www.gnu.org/licenses/>.
22
78 by toby
finished release V1.0 version of the User Manual, including updates to the Goby-Core examples
23
24
530 by Toby Schneider
Changed header on all files to reflect change in license to GPL/LGPL2
25
78 by toby
finished release V1.0 version of the User Manual, including updates to the Goby-Core examples
26
#ifndef VERSION20110304H
27
#define VERSION20110304H
28
254 by Toby Schneider
missing <string> include in version and added a missing default parameter for the MOOS Translator
29
#include <string>
426 by Toby Schneider
Autogenerate user doc configuration snippets; improved version number information
30
#include <sstream>
254 by Toby Schneider
missing <string> include in version and added a missing default parameter for the MOOS Translator
31
60.5.7 by toby
version 1.1.0
32
#define GOBY_VERSION_MAJOR @GOBY_VERSION_MAJOR@
33
#define GOBY_VERSION_MINOR @GOBY_VERSION_MINOR@
34
#define GOBY_VERSION_PATCH @GOBY_VERSION_PATCH@
78 by toby
finished release V1.0 version of the User Manual, including updates to the Goby-Core examples
35
36
namespace goby
37
{
60.5.7 by toby
version 1.1.0
38
    const std::string VERSION_STRING = "@GOBY_VERSION@";
39
    const std::string VERSION_DATE = "@GOBY_VERSION_DATE@";
426 by Toby Schneider
Autogenerate user doc configuration snippets; improved version number information
40
41
    inline std::string version_message()
42
    {
43
        std::stringstream ss;
44
        ss << "This is Version " << goby::VERSION_STRING
45
           << " of the Goby Underwater Autonomy Project released on "
46
           << goby::VERSION_DATE
47
           <<".\n See https://launchpad.net/goby to search for updates.";
48
        return ss.str();
49
    }
78 by toby
finished release V1.0 version of the User Manual, including updates to the Goby-Core examples
50
}
51
52
#endif