src/gba/context/directories.h (view raw)
1/* Copyright (c) 2013-2015 Jeffrey Pfau
2 *
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6#ifndef DIRECTORIES_H
7#define DIRECTORIES_H
8
9#include "util/common.h"
10
11struct VDir;
12
13struct GBADirectorySet {
14 struct VDir* base;
15 struct VDir* archive;
16 struct VDir* save;
17 struct VDir* patch;
18 struct VDir* state;
19 struct VDir* screenshot;
20};
21
22void GBADirectorySetInit(struct GBADirectorySet* dirs);
23void GBADirectorySetDeinit(struct GBADirectorySet* dirs);
24
25void GBADirectorySetAttachBase(struct GBADirectorySet* dirs, struct VDir* base);
26void GBADirectorySetDetachBase(struct GBADirectorySet* dirs);
27
28#endif