Added common files

This commit is contained in:
Digital Artifex
2026-06-06 22:34:19 -04:00
parent 15a625008e
commit 59a2204386
11 changed files with 545 additions and 21 deletions
+28
View File
@@ -0,0 +1,28 @@
#ifndef FETCHRESULT_H
#define FETCHRESULT_H
#include <qtypes.h>
#include <QList>
template<typename T>
struct FetchResult
{
/**
* @brief total
* Total number of results in the query
*/
qsizetype total = 0;
/**
* @brief count
* Number of results returned in this result
*/
qsizetype count = 0;
/**
* @brief results
* Results list
*/
QList<T*> data;
};
#endif // FETCHRESULT_H