Atlas Game Manager
A game manager for f95 and dlsite written in c++
Loading...
Searching...
No Matches
Importer.cpp File Reference
#include "Importer.hpp"
#include <QFuture>
#include <QtConcurrent>
#include <tracy/Tracy.hpp>
#include <tracy/TracyC.h>
#include "GameImportData.hpp"
#include "ImportNotifier.hpp"
#include "core/database/record/GameData.hpp"
#include "core/database/record/game/Game.hpp"
#include "core/images/images.hpp"
#include "core/images/import.hpp"
#include "core/notifications/notifications.hpp"
#include "core/utils/FileScanner.hpp"
#include "core/utils/operators.hpp"
#include "core/utils/threading/pools.hpp"

Namespaces

namespace  internal
 

Functions

void internal::importGame (QPromise< RecordID > &promise, GameImportData data, const std::filesystem::path import_root, const bool owning)
 
QFuture< RecordIDimportGame (GameImportData data, const std::filesystem::path root, const bool owning)
 

Function Documentation

◆ importGame()

QFuture< RecordID > importGame ( GameImportData data,
const std::filesystem::path root,
const bool owning )
nodiscard
Parameters
data
rootShould be populated with the folder containing the root for the data input. Leave empty if the data input is already a full path.
owningsee importGame
Returns