blob: 0c16b94a80176ebe0e2a21cb66633c52c4c5de42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#pragma once
#include "wrap/ustring.h"
#include <cstdint>
#include <optional>
#include <sqlWriter.h>
#include <string>
namespace AdHoc {
class Buffer;
}
namespace DB {
class Command;
}
namespace Gentoo::Utils {
class SplitEbuildProps : public DB::SqlWriter {
public:
SplitEbuildProps(std::string ce, int64_t e, std::string cp, std::optional<Glib::ustring> p);
void writeSql(AdHoc::Buffer & sql) override;
void bindParams(DB::Command * c, unsigned int & offset) override;
const int64_t entityId;
const std::string colEntityName, colPropName;
const std::optional<Glib::ustring> props;
};
}
|