Daniel Krueger | 9d7164c | 2008-12-19 11:41:57 -0800 | [diff] [blame] | 1 | /**************************************************************************** |
| 2 | |
| 3 | (c) SYSTEC electronic GmbH, D-07973 Greiz, August-Bebel-Str. 29 |
| 4 | www.systec-electronic.com |
| 5 | |
| 6 | Project: openPOWERLINK |
| 7 | |
| 8 | Description: This file defines the EPL version for the stack, as string |
| 9 | and for object 0x1018 within object dictionary. |
| 10 | |
| 11 | License: |
| 12 | |
| 13 | Redistribution and use in source and binary forms, with or without |
| 14 | modification, are permitted provided that the following conditions |
| 15 | are met: |
| 16 | |
| 17 | 1. Redistributions of source code must retain the above copyright |
| 18 | notice, this list of conditions and the following disclaimer. |
| 19 | |
| 20 | 2. Redistributions in binary form must reproduce the above copyright |
| 21 | notice, this list of conditions and the following disclaimer in the |
| 22 | documentation and/or other materials provided with the distribution. |
| 23 | |
| 24 | 3. Neither the name of SYSTEC electronic GmbH nor the names of its |
| 25 | contributors may be used to endorse or promote products derived |
| 26 | from this software without prior written permission. For written |
| 27 | permission, please contact info@systec-electronic.com. |
| 28 | |
| 29 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 30 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 31 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
| 32 | FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
| 33 | COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
| 34 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
| 35 | BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 36 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
| 37 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
| 38 | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
| 39 | ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| 40 | POSSIBILITY OF SUCH DAMAGE. |
| 41 | |
| 42 | Severability Clause: |
| 43 | |
| 44 | If a provision of this License is or becomes illegal, invalid or |
| 45 | unenforceable in any jurisdiction, that shall not affect: |
| 46 | 1. the validity or enforceability in that jurisdiction of any other |
| 47 | provision of this License; or |
| 48 | 2. the validity or enforceability in other jurisdictions of that or |
| 49 | any other provision of this License. |
| 50 | |
| 51 | ------------------------------------------------------------------------- |
| 52 | |
| 53 | $RCSfile: EplVersion.h,v $ |
| 54 | |
| 55 | $Author: D.Krueger $ |
| 56 | |
| 57 | $Revision: 1.6 $ $Date: 2008/10/17 15:32:32 $ |
| 58 | |
| 59 | $State: Exp $ |
| 60 | |
| 61 | Build Environment: |
| 62 | all |
| 63 | |
| 64 | ------------------------------------------------------------------------- |
| 65 | |
| 66 | Revision History: |
| 67 | |
| 68 | ****************************************************************************/ |
| 69 | |
| 70 | #ifndef _EPL_VERSION_H_ |
| 71 | #define _EPL_VERSION_H_ |
| 72 | |
Daniel Krueger | 9d7164c | 2008-12-19 11:41:57 -0800 | [diff] [blame] | 73 | // NOTE: |
| 74 | // All version macros should contain the same version number. But do not use |
| 75 | // defines instead of the numbers. Because the macro EPL_STRING_VERSION() can not |
| 76 | // convert a define to a string. |
| 77 | // |
| 78 | // Format: maj.min.build |
| 79 | // maj = major version |
| 80 | // min = minor version (will be set to 0 if major version will be incremented) |
| 81 | // build = current build (will be set to 0 if minor version will be incremented) |
| 82 | // |
| 83 | #define DEFINED_STACK_VERSION EPL_STACK_VERSION (1, 3, 0) |
| 84 | #define DEFINED_OBJ1018_VERSION EPL_OBJ1018_VERSION (1, 3, 0) |
| 85 | #define DEFINED_STRING_VERSION EPL_STRING_VERSION (1, 3, 0) |
| 86 | |
Daniel Krueger | 9d7164c | 2008-12-19 11:41:57 -0800 | [diff] [blame] | 87 | // ----------------------------------------------------------------------------- |
| 88 | #define EPL_PRODUCT_NAME "EPL V2" |
| 89 | #define EPL_PRODUCT_VERSION DEFINED_STRING_VERSION |
| 90 | #define EPL_PRODUCT_MANUFACTURER "SYS TEC electronic GmbH" |
| 91 | |
Greg Kroah-Hartman | e0ca059 | 2008-12-19 17:09:38 -0800 | [diff] [blame] | 92 | #define EPL_PRODUCT_KEY "SO-1083" |
| 93 | #define EPL_PRODUCT_DESCRIPTION "openPOWERLINK Protocol Stack Source" |
Daniel Krueger | 9d7164c | 2008-12-19 11:41:57 -0800 | [diff] [blame] | 94 | |
| 95 | #endif // _EPL_VERSION_H_ |
| 96 | |
| 97 | // Die letzte Zeile muß unbedingt eine leere Zeile sein, weil manche Compiler |
| 98 | // damit ein Problem haben, wenn das nicht so ist (z.B. GNU oder Borland C++ Builder). |