]> git.donarmstrong.com Git - qmk_firmware.git/blob - LUFA/Version.h
Squashed 'lib/lufa/' changes from 385d40300..a44056fb9
[qmk_firmware.git] / LUFA / Version.h
1 /*
2              LUFA Library
3      Copyright (C) Dean Camera, 2017.
4
5   dean [at] fourwalledcubicle [dot] com
6            www.lufa-lib.org
7 */
8
9 /*
10   Copyright 2017  Dean Camera (dean [at] fourwalledcubicle [dot] com)
11
12   Permission to use, copy, modify, distribute, and sell this
13   software and its documentation for any purpose is hereby granted
14   without fee, provided that the above copyright notice appear in
15   all copies and that both that the copyright notice and this
16   permission notice and warranty disclaimer appear in supporting
17   documentation, and that the name of the author not be used in
18   advertising or publicity pertaining to distribution of the
19   software without specific, written prior permission.
20
21   The author disclaims all warranties with regard to this
22   software, including all implied warranties of merchantability
23   and fitness.  In no event shall the author be liable for any
24   special, indirect or consequential damages or any damages
25   whatsoever resulting from loss of use, data or profits, whether
26   in an action of contract, negligence or other tortious action,
27   arising out of or in connection with the use or performance of
28   this software.
29 */
30
31 /** \file
32  *
33  *  \brief LUFA library version constants.
34  *
35  *  Version constants for informational purposes and version-specific macro creation. This header file contains the
36  *  current LUFA version number in several forms, for use in the user-application (for example, for printing out
37  *  whilst debugging, or for testing for version compatibility).
38  */
39
40 #ifndef __LUFA_VERSION_H__
41 #define __LUFA_VERSION_H__
42
43         /* Public Interface - May be used in end-application: */
44                 /* Macros: */
45                         /** \name LUFA Release Type Constants */
46                         //@{
47                                 /** Constant for \ref LUFA_VERSION_RELEASE_TYPE indicating a development release. */
48                                 #define LUFA_VERSION_RELEASE_TYPE_DEVELOPMENT   0
49
50                                 /** Constant for \ref LUFA_VERSION_RELEASE_TYPE indicating a beta release. */
51                                 #define LUFA_VERSION_RELEASE_TYPE_BETA          1
52
53                                 /** Constant for \ref LUFA_VERSION_RELEASE_TYPE indicating a full official release. */
54                                 #define LUFA_VERSION_RELEASE_TYPE_FULL          2
55                         //@}
56
57                         /** Indicates the version number of the library, as an integer. \note This value is only updates in non-development releases. */
58                         #define LUFA_VERSION_INTEGER              0x170418
59
60                         /** Indicates the version number of the library, as a string. \note This value is only updates in non-development releases. */
61                         #define LUFA_VERSION_STRING               "170418"
62
63                         /** Indicates the release type of the library. */
64                         #define LUFA_VERSION_RELEASE_TYPE         LUFA_VERSION_RELEASE_TYPE_FULL
65
66 #endif
67