src/FileSystem.h
author Asher Baker <asherkin@gmail.com>
Mon Jun 10 15:52:44 2013 +0100 (2013-06-10)
changeset 265 3a903b89a514
parent 251 ca99a81745fe
permissions -rw-r--r--
Fixed type checking for multidimensional arrays.
dvander@251
     1
/*
dvander@251
     2
 * Copyright (C) 2012 David Anderson
dvander@251
     3
 *
dvander@251
     4
 * This file is part of SourcePawn.
dvander@251
     5
 *
dvander@251
     6
 * SourcePawn is free software: you can redistribute it and/or modify it under
dvander@251
     7
 * the terms of the GNU General Public License as published by the Free
dvander@251
     8
 * Software Foundation, either version 3 of the License, or (at your option)
dvander@251
     9
 * any later version.
dvander@251
    10
 * 
dvander@251
    11
 * SourcePawn is distributed in the hope that it will be useful, but WITHOUT ANY
dvander@251
    12
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
dvander@251
    13
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
dvander@251
    14
 *
dvander@251
    15
 * You should have received a copy of the GNU General Public License along with
dvander@251
    16
 * SourcePawn. If not, see http://www.gnu.org/licenses/.
dvander@251
    17
 */
dvander@251
    18
#ifndef _include_sp2_filesystem_h_
dvander@251
    19
#define _include_sp2_filesystem_h_
dvander@251
    20
dvander@251
    21
#include "Utility.h"
dvander@251
    22
dvander@251
    23
namespace ke {
dvander@251
    24
dvander@251
    25
class Zone;
dvander@251
    26
dvander@251
    27
// Joins a NULL terminated list of char pointers into a path.
dvander@251
    28
bool JoinPaths(Zone *zone, AutoFree<char> &result, const char *base, const char *name);
dvander@251
    29
dvander@251
    30
} // namespace ke
dvander@251
    31
dvander@251
    32
#endif // _include_sp2_filesystem_h_