|
| 1 | +// Copyright (c) 2017 Marshall A. Greenblatt. All rights reserved. |
| 2 | +// |
| 3 | +// Redistribution and use in source and binary forms, with or without |
| 4 | +// modification, are permitted provided that the following conditions are |
| 5 | +// met: |
| 6 | +// |
| 7 | +// * Redistributions of source code must retain the above copyright |
| 8 | +// notice, this list of conditions and the following disclaimer. |
| 9 | +// * Redistributions in binary form must reproduce the above |
| 10 | +// copyright notice, this list of conditions and the following disclaimer |
| 11 | +// in the documentation and/or other materials provided with the |
| 12 | +// distribution. |
| 13 | +// * Neither the name of Google Inc. nor the name Chromium Embedded |
| 14 | +// Framework nor the names of its contributors may be used to endorse |
| 15 | +// or promote products derived from this software without specific prior |
| 16 | +// written permission. |
| 17 | +// |
| 18 | +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 19 | +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 20 | +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 21 | +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 22 | +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 23 | +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 24 | +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 25 | +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 26 | +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 | +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 | +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 | +// |
| 30 | +// --------------------------------------------------------------------------- |
| 31 | +// |
| 32 | +// This file is generated by the make_version_header.py tool. |
| 33 | +// |
| 34 | + |
| 35 | +#ifndef CEF_INCLUDE_CEF_VERSION_H_ |
| 36 | +#define CEF_INCLUDE_CEF_VERSION_H_ |
| 37 | + |
| 38 | +#define CEF_VERSION "3.2883.1553.g80bd606" |
| 39 | +#define CEF_VERSION_MAJOR 3 |
| 40 | +#define CEF_COMMIT_NUMBER 1553 |
| 41 | +#define CEF_COMMIT_HASH "80bd6062d7ac4c5fd1d7bc7ee78e8e59d4a040aa" |
| 42 | +#define COPYRIGHT_YEAR 2017 |
| 43 | + |
| 44 | +#define CHROME_VERSION_MAJOR 55 |
| 45 | +#define CHROME_VERSION_MINOR 0 |
| 46 | +#define CHROME_VERSION_BUILD 2883 |
| 47 | +#define CHROME_VERSION_PATCH 87 |
| 48 | + |
| 49 | +#define DO_MAKE_STRING(p) #p |
| 50 | +#define MAKE_STRING(p) DO_MAKE_STRING(p) |
| 51 | + |
| 52 | +#ifndef APSTUDIO_HIDDEN_SYMBOLS |
| 53 | + |
| 54 | +#include "include/internal/cef_export.h" |
| 55 | + |
| 56 | +#ifdef __cplusplus |
| 57 | +extern "C" { |
| 58 | +#endif |
| 59 | + |
| 60 | +// The API hash is created by analyzing CEF header files for C API type |
| 61 | +// definitions. The hash value will change when header files are modified |
| 62 | +// in a way that may cause binary incompatibility with other builds. The |
| 63 | +// universal hash value will change if any platform is affected whereas the |
| 64 | +// platform hash values will change only if that particular platform is |
| 65 | +// affected. |
| 66 | +#define CEF_API_HASH_UNIVERSAL "87b7eefcb86c87b28f86bfd7919f7d7a6cffc0d8" |
| 67 | +#if defined(OS_WIN) |
| 68 | +#define CEF_API_HASH_PLATFORM "00823905486d7b7222da5654fe35d2d15f65543a" |
| 69 | +#elif defined(OS_MACOSX) |
| 70 | +#define CEF_API_HASH_PLATFORM "f0180f006643782254250f34e858b98110a40e6e" |
| 71 | +#elif defined(OS_LINUX) |
| 72 | +#define CEF_API_HASH_PLATFORM "14b19454a4231fa10a77b8955954dc95f073af6b" |
| 73 | +#endif |
| 74 | + |
| 75 | +// Returns CEF version information for the libcef library. The |entry| |
| 76 | +// parameter describes which version component will be returned: |
| 77 | +// 0 - CEF_VERSION_MAJOR |
| 78 | +// 1 - CEF_COMMIT_NUMBER |
| 79 | +// 2 - CHROME_VERSION_MAJOR |
| 80 | +// 3 - CHROME_VERSION_MINOR |
| 81 | +// 4 - CHROME_VERSION_BUILD |
| 82 | +// 5 - CHROME_VERSION_PATCH |
| 83 | +/// |
| 84 | +CEF_EXPORT int cef_version_info(int entry); |
| 85 | + |
| 86 | +/// |
| 87 | +// Returns CEF API hashes for the libcef library. The returned string is owned |
| 88 | +// by the library and should not be freed. The |entry| parameter describes which |
| 89 | +// hash value will be returned: |
| 90 | +// 0 - CEF_API_HASH_PLATFORM |
| 91 | +// 1 - CEF_API_HASH_UNIVERSAL |
| 92 | +// 2 - CEF_COMMIT_HASH |
| 93 | +/// |
| 94 | +CEF_EXPORT const char* cef_api_hash(int entry); |
| 95 | + |
| 96 | +#ifdef __cplusplus |
| 97 | +} |
| 98 | +#endif |
| 99 | + |
| 100 | +#endif // APSTUDIO_HIDDEN_SYMBOLS |
| 101 | + |
| 102 | +#endif // CEF_INCLUDE_CEF_VERSION_H_ |
0 commit comments