Warning, /libraries/qca/include/QtCrypto/qca_version.h.in is written in an unsupported language. File is not indexed.
0001 /* 0002 * qca_version.h - Qt Cryptographic Architecture 0003 * Copyright (C) 2014 Ivan Romanov <drizt@land.ru> 0004 * 0005 * This library is free software; you can redistribute it and/or 0006 * modify it under the terms of the GNU Lesser General Public 0007 * License as published by the Free Software Foundation; either 0008 * version 2.1 of the License, or (at your option) any later version. 0009 * 0010 * This library is distributed in the hope that it will be useful, 0011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0013 * Lesser General Public License for more details. 0014 * 0015 * You should have received a copy of the GNU Lesser General Public 0016 * License along with this library; if not, write to the Free Software 0017 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 0018 * 02110-1301 USA 0019 * 0020 */ 0021 0022 /** 0023 \file qca_version.h 0024 0025 Header file with %QCA version 0026 0027 \note You should not use this header directly from an 0028 application. You should just use <tt> \#include \<QtCrypto> 0029 </tt> instead. 0030 */ 0031 0032 #ifndef QCA_VERSION_H 0033 #define QCA_VERSION_H 0034 0035 /** 0036 The major part of current %QCA version. 0037 */ 0038 0039 #define QCA_MAJOR_VERSION @QCA_LIB_MAJOR_VERSION@ 0040 0041 /** 0042 The minor part of current %QCA version. 0043 */ 0044 0045 #define QCA_MINOR_VERSION @QCA_LIB_MINOR_VERSION@ 0046 0047 /** 0048 The patch part of current %QCA version. 0049 */ 0050 0051 #define QCA_PATCH_VERSION @QCA_LIB_PATCH_VERSION@ 0052 0053 /** 0054 The current version of %QCA as string. 0055 */ 0056 0057 #define QCA_VERSION_STR "@QCA_LIB_VERSION_STRING@" 0058 0059 /** 0060 Can be used like #if (QCA_VERSION >= %QCA_VERSION_CHECK(2, 0, 3)) 0061 0062 \param major part of the version 0063 \param minor part of the version 0064 \param patch part of the version 0065 */ 0066 0067 #define QCA_VERSION_CHECK(major, minor, patch) \ 0068 ((major << 16) | (minor << 8) | (patch)) 0069 0070 /** 0071 The current version of %QCA 0072 0073 This provides you a compile time check of the %QCA version. 0074 0075 \sa qcaVersion for a runtime check. 0076 */ 0077 0078 #define QCA_VERSION \ 0079 QCA_VERSION_CHECK(@QCA_LIB_MAJOR_VERSION@, @QCA_LIB_MINOR_VERSION@, @QCA_LIB_PATCH_VERSION@) 0080 0081 #endif // QCA_VERSION_H