Debian Codegraph @

tests/auto/tools/rcc/data/legal/rcc_legal.cpp

raw
1 /****************************************************************************
2 ** Resource object code
3 ** Copyright (C) 2024 Intel Corporation.
4 ** SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
5 **
6 ** Created by: The Resource Compiler for Qt version 6.10.2
7 **
8 ** WARNING! All changes made in this file will be lost!
9 *****************************************************************************/
10
11 #ifdef _MSC_VER
12 // disable informational message "function ... selected for automatic inline expansion"
13 #pragma warning (disable: 4711)
14 #endif
15
16 static const unsigned char qt_resource_data[] = {
17 // parentdir.txt
18 0x0,0x0,0x0,0x1a,
19 0x61,
20 0x62,0x63,0x64,0x65,0x66,0x67,0x69,0x68,0x6b,0x6c,0x6d,0x6e,0x6f,0x70,0x71,0x72,
21 0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0xa,
22
23 };
24
25 static const unsigned char qt_resource_name[] = {
26 // parentdir.txt
27 0x0,0xd,
28 0x6,0x14,0xd1,0x74,
29 0x0,0x70,
30 0x0,0x61,0x0,0x72,0x0,0x65,0x0,0x6e,0x0,0x74,0x0,0x64,0x0,0x69,0x0,0x72,0x0,0x2e,0x0,0x74,0x0,0x78,0x0,0x74,
31
32 };
33
34 static const unsigned char qt_resource_struct[] = {
35 // :
36 0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x1,
37 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
38 // :/parentdir.txt
39 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x0,
40 TIMESTAMP:../parentdir.txt
41
42 };
43
44 #ifdef QT_NAMESPACE
45 # define QT_RCC_PREPEND_NAMESPACE(name) ::QT_NAMESPACE::name
46 # define QT_RCC_MANGLE_NAMESPACE0(x) x
47 # define QT_RCC_MANGLE_NAMESPACE1(a, b) a##_##b
48 # define QT_RCC_MANGLE_NAMESPACE2(a, b) QT_RCC_MANGLE_NAMESPACE1(a,b)
49 # define QT_RCC_MANGLE_NAMESPACE(name) QT_RCC_MANGLE_NAMESPACE2( \
50 QT_RCC_MANGLE_NAMESPACE0(name), QT_RCC_MANGLE_NAMESPACE0(QT_NAMESPACE))
51 #else
52 # define QT_RCC_PREPEND_NAMESPACE(name) name
53 # define QT_RCC_MANGLE_NAMESPACE(name) name
54 #endif
55
56 #if defined(QT_INLINE_NAMESPACE)
57 inline namespace QT_NAMESPACE {
58 #elif defined(QT_NAMESPACE)
59 namespace QT_NAMESPACE {
60 #endif
61
62 bool qRegisterResourceData(int, const unsigned char *, const unsigned char *, const unsigned char *);
63 bool qUnregisterResourceData(int, const unsigned char *, const unsigned char *, const unsigned char *);
64
65 #ifdef QT_NAMESPACE
66 }
67 #endif
68
69 int QT_RCC_MANGLE_NAMESPACE(qInitResources)();
70 int QT_RCC_MANGLE_NAMESPACE(qInitResources)()
71 {
72 int version = 3;
73 QT_RCC_PREPEND_NAMESPACE(qRegisterResourceData)
74 (version, qt_resource_struct, qt_resource_name, qt_resource_data);
75 return 1;
76 }
77
78 int QT_RCC_MANGLE_NAMESPACE(qCleanupResources)();
79 int QT_RCC_MANGLE_NAMESPACE(qCleanupResources)()
80 {
81 int version = 3;
82 QT_RCC_PREPEND_NAMESPACE(qUnregisterResourceData)
83 (version, qt_resource_struct, qt_resource_name, qt_resource_data);
84 return 1;
85 }
86
87 #ifdef __clang__
88 # pragma clang diagnostic push
89 # pragma clang diagnostic ignored "-Wexit-time-destructors"
90 #endif
91
92 namespace {
93 struct initializer {
94 initializer() { QT_RCC_MANGLE_NAMESPACE(qInitResources)(); }
95 ~initializer() { QT_RCC_MANGLE_NAMESPACE(qCleanupResources)(); }
96 } dummy;
97 }
98
99 #ifdef __clang__
100 # pragma clang diagnostic pop
101 #endif