Motive Animation System
An open source project by FPL.
 All Classes Functions Variables Typedefs Friends Pages
version.h
1 // Copyright 2015 Google Inc. All rights reserved.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 #ifndef MOTIVE_VERSION_H_
16 #define MOTIVE_VERSION_H_
17 
18 #include "motive/motivator.h"
19 #include "motive/target.h"
20 
21 namespace motive {
22 
23 /// @class MotiveVersion
24 /// @brief Current version information for the Motive animation system.
25 struct MotiveVersion {
26  /// Major version number, updated only on major releases.
27  unsigned char major;
28 
29  /// Minor version number, updated for point releases.
30  unsigned char minor;
31 
32  /// Revision number, updated for tiny releases, for example, bug fixes.
33  unsigned char revision;
34 
35  // Text string holding the name and version of library.
36  const char* text;
37 };
38 
39 /// Return the current version of the Motive animation system.
40 const MotiveVersion& Version();
41 
42 } // namespace motive
43 
44 #endif // MOTIVE_VERSION_H_
Current version information for the Motive animation system.
Definition: version.h:25
unsigned char minor
Minor version number, updated for point releases.
Definition: version.h:30
unsigned char major
Major version number, updated only on major releases.
Definition: version.h:27
unsigned char revision
Revision number, updated for tiny releases, for example, bug fixes.
Definition: version.h:33