File indexing completed on 2024-05-19 04:29:08

0001 /*
0002  * SPDX-FileCopyrightText: 2023 Sharaf Zaman <shzam@sdf.org>
0003  *
0004  * SPDX-License-Identifier: LGPL-2.0-or-later
0005  */
0006 
0007 #ifndef __KISANDROIDFILEPROXY_H_
0008 #define __KISANDROIDFILEPROXY_H_
0009 
0010 #include <QString>
0011 
0012 
0013 class KisAndroidFileProxy {
0014 public:
0015 
0016     /**
0017      * This clones the file to internal storage so we can return it. This is useful for APIs
0018      * which don't work on file descriptors.
0019      */
0020     static QString getFileFromContentUri(QString contentUri);
0021 
0022 };
0023 
0024 
0025 #endif // __KISANDROIDFILEPROXY_H_