summaryrefslogtreecommitdiff
path: root/source/core/slang-zip-file-system.h
blob: 120d5003a9021ebb665303baaf7d0c409ad51156 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef SLANG_ZIP_FILE_SYSTEM_H
#define SLANG_ZIP_FILE_SYSTEM_H

#include "slang-basic.h"

#include "slang-archive-file-system.h"

namespace Slang
{

struct ZipFileSystem
{
        /// Create an empty zip
    static SlangResult create(ComPtr<ISlangMutableFileSystem>& out);
        /// True if this appears to be a zip archive
    static bool isArchive(const void* data, size_t size);
};

}

#endif