Krita Source Code Documentation
Loading...
Searching...
No Matches
KisTemporaryResourceStorageLock.cpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2023 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
8
9#include <kis_assert.h>
10#include <KisResourceLocator.h>
11
13 : m_temporaryStorageLocationTemplate(temporaryStorageLocationTemplate)
14{
15}
16
31
38
bool removeStorage(const QString &storageLocation)
removeStorage removes the temporary storage from the database
bool addStorage(const QString &storageLocation, KisResourceStorageSP storage)
addStorage Adds a new resource storage to the database. The storage is will be marked as not pre-inst...
static KisResourceLocator * instance()
KisTemporaryResourceStorageLockAdapter(const QString &temporaryStorageLocationTemplate)
#define KIS_SAFE_ASSERT_RECOVER_RETURN(cond)
Definition kis_assert.h:128