FOSSology  4.7.1
Open Source License Compliance by Open Source Software
ReuserTypes.hpp
1 /*
2  SPDX-License-Identifier: GPL-2.0-only
3  Author: Dietmar Helmut Leher <helmut.leher.ext@vaillant-group.com>
4  SPDX-FileCopyrightText: © 2026 Vaillant GmbH
5 */
6 #pragma once
7 
8 #include <string>
9 
14 {
15  int uploadtree_pk;
16  std::string uploadTreeTableName;
17  int upload_fk;
18  int lft;
19  int rgt;
20 };
21 
26 {
27  int reusedUploadId;
28  int reusedGroupId;
29  int reuseMode;
30 };
31 
33 constexpr int REUSE_ENHANCED = 2;
34 constexpr int REUSE_MAIN = 4;
35 constexpr int REUSE_CONF = 16;
36 constexpr int REUSE_COPYRIGHT = 128;
Bounds of an item within an uploadtree table.
Definition: ReuserTypes.hpp:14
A single reuse relationship between two uploads.
Definition: ReuserTypes.hpp:26