OpenZWave Library 1.6.1914
ValueIDIndexes.h
Go to the documentation of this file.
1//-----------------------------------------------------------------------------
2//
3// ValueIDIndexes.h
4//
5// List of all Possible ValueID Indexes in OZW
6//
7// Copyright (c) 2010 Mal Lansell <openzwave@lansell.org>
8//
9// SOFTWARE NOTICE AND LICENSE
10//
11// This file is part of OpenZWave.
12//
13// OpenZWave is free software: you can redistribute it and/or modify
14// it under the terms of the GNU Lesser General Public License as published
15// by the Free Software Foundation, either version 3 of the License,
16// or (at your option) any later version.
17//
18// OpenZWave is distributed in the hope that it will be useful,
19// but WITHOUT ANY WARRANTY; without even the implied warranty of
20// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21// GNU Lesser General Public License for more details.
22//
23// You should have received a copy of the GNU Lesser General Public License
24// along with OpenZWave. If not, see <http://www.gnu.org/licenses/>.
25//
26//-----------------------------------------------------------------------------
27
28/* This file is includes the pre-processed ValueIDIndexesDefines.h to avoid problems
29 * with MSVC not supporting enough arguments with Macro's.
30 * If you are adding a ValueID, you should add its index ENUM to ValuIDIndexDefines.def and the run
31 * 'make updateIndexDefines' to regenerate the the ValueIDIndexDefines.h file
32 */
33
34#include <cstring>
35
36#ifndef _ValueIDIndexes_H
37#define _ValueIDIndexes_H
38namespace OpenZWave
39{
40
41#ifdef _MSC_VER
42#define strncpy(x, y, z) strncpy_s(x, sizeof(x), y, sizeof(x)-1)
43#endif
44
46
47}
48
49#endif
Definition: Bitfield.cpp:31