summaryrefslogtreecommitdiff
path: root/src/KingSystem/Resource/resSystem.h
blob: 9cdc52f8006006cd6a60e24a3d3a68ee3c75bd79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#pragma once

#include <prim/seadSafeString.h>
#include "resHandle.h"

namespace ksys::res {

class EntryFactoryBase;

void registerEntryFactory(EntryFactoryBase* factory, const sead::SafeString& name);
void unregisterEntryFactory(EntryFactoryBase* factory);

bool isHostPath(const sead::SafeString& path);

// In release builds, the only thing this function does is return 1.
// TODO: figure out what this is used for. Stubbed log function?
bool stubbedLogFunction();

// In release builds, the only thing this function does is return 0.
// TODO: figure out what this is used for. Stubbed log function?
bool returnFalse();

// In release builds, the only thing this function does is return 0.
// TODO: figure out what this is used for. Stubbed log function?
bool returnFalse2(const sead::SafeString&);

bool returnFalse3(const sead::SafeString& path);

s32 getDefaultAlignment();

// In release builds, this function does nothing.
// TODO: figure out what this is used for. Stubbed log function?
void registerPackExtension(bool has_extension, const sead::SafeString& extension);

// In release builds, this function does nothing.
// TODO: figure out what this is used for. Stubbed log function?
void stubbedBool(bool);

void setResourceMgrPack(Handle* pack);

}  // namespace ksys::res