Audacity 3.2.0
SQLiteUtils.h
Go to the documentation of this file.
1
2/*
3 * SPDX-License-Identifier: GPL-2.0-or-later
4 * SPDX-FileName: SQLiteUtils.h
5 * SPDX-FileContributor: Dmitry Vedenko
6 */
7
8#pragma once
9
10#include <string_view>
11#include <functional>
12
13#include "Error.h"
14
15namespace audacity::sqlite
16{
17SQLITE_HELPERS_API Error Initialize() noexcept;
18
19using LogCallback = std::function<void(int, std::string_view)>;
20SQLITE_HELPERS_API void SetLogCallback(LogCallback callback);
21} // namespace audacity::sqlite
std::function< void(int, std::string_view)> LogCallback
Definition: SQLiteUtils.h:19
void SetLogCallback(LogCallback callback)
Definition: SQLiteUtils.cpp:97
Error Initialize() noexcept
Definition: SQLiteUtils.cpp:92
STL namespace.