quickshell/src/core/test/ringbuf.hpp
outfoxxed bdbf5b9af9
core/log: add custom log encoder for smaller log storage
Will be used to store more detailed logs in the future without using
as much disk space.
2024-08-09 14:43:18 -07:00

27 lines
429 B
C++

#pragma once
#include <qobject.h>
#include <qtclasshelpermacros.h>
#include <qtmetamacros.h>
#include <qtypes.h>
class TestObject {
public:
explicit TestObject(quint32* count);
~TestObject();
Q_DISABLE_COPY_MOVE(TestObject);
private:
quint32* count;
};
class TestRingBuffer: public QObject {
Q_OBJECT;
private slots:
static void fill();
static void clearPartial();
static void move();
static void hashLookup();
};