1 // Copyright (c) 2015 Marshall A. Greenblatt. All rights reserved.
3 // Redistribution and use in source and binary forms, with or without
4 // modification, are permitted provided that the following conditions are
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
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.
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.
30 // ---------------------------------------------------------------------------
32 // This file is generated by the make_version_header.py tool.
35 #ifndef CEF_INCLUDE_CEF_VERSION_H_
36 #define CEF_INCLUDE_CEF_VERSION_H_
38 #define CEF_VERSION "3.2378.1268.g4715a16"
39 #define CEF_VERSION_MAJOR 3
40 #define CEF_COMMIT_NUMBER 1268
41 #define CEF_COMMIT_HASH "4715a1644e292e191d3840b59a74f821be91daec"
42 #define COPYRIGHT_YEAR 2015
44 #define CHROME_VERSION_MAJOR 44
45 #define CHROME_VERSION_MINOR 0
46 #define CHROME_VERSION_BUILD 2378
47 #define CHROME_VERSION_PATCH 0
49 #define DO_MAKE_STRING(p) #p
50 #define MAKE_STRING(p) DO_MAKE_STRING(p)
52 #ifndef APSTUDIO_HIDDEN_SYMBOLS
54 #include "include/internal/cef_export.h"
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
66 #define CEF_API_HASH_UNIVERSAL "2b3193123e3383250ab2063849efe7db537bd4c1"
68 #define CEF_API_HASH_PLATFORM "27c1156f5f9b4d4271ec2e146a1e10fb47a01712"
69 #elif defined(OS_MACOSX)
70 #define CEF_API_HASH_PLATFORM "f6e8bce3f2a055cb80402692d500986607463e32"
71 #elif defined(OS_LINUX)
72 #define CEF_API_HASH_PLATFORM "e50a8044ea7deea0578a41f602f412826eb0ea0a"
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
84 CEF_EXPORT int cef_version_info(int entry);
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
94 CEF_EXPORT const char* cef_api_hash(int entry);
100 #endif // APSTUDIO_HIDDEN_SYMBOLS
102 #endif // CEF_INCLUDE_CEF_VERSION_H_