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

#include "slang-archive-file-system.h"
#include "slang-basic.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);
};

} // namespace Slang

#endif