Page MenuHomePhorge

qt-rand-adapter.hpp
No OneTemporary

Size
585 B
Referenced Files
None
Subscribers
None

qt-rand-adapter.hpp

/*
* This file is part of kazv.
* SPDX-FileCopyrightText: 2020-2021 Tusooa Zhu <tusooa@kazv.moe>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#pragma once
#include <libkazv-config.hpp>
#include <memory>
class QtRandAdapter
{
public:
QtRandAdapter();
~QtRandAdapter();
QtRandAdapter(const QtRandAdapter &) = delete;
QtRandAdapter(QtRandAdapter &&);
QtRandAdapter &operator=(const QtRandAdapter &) = delete;
QtRandAdapter &operator=(QtRandAdapter &&);
unsigned int operator()();
private:
struct Private;
std::unique_ptr<Private> m_d;
};

File Metadata

Mime Type
text/x-c++
Expires
Sun, Dec 1, 4:09 PM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41742
Default Alt Text
qt-rand-adapter.hpp (585 B)

Event Timeline