|
Last change
on this file since 1035 was
840,
checked in by Maciej Komosinski, 7 years ago
|
|
Split stl-util into util-stl, util-file and util-string
|
|
File size:
646 bytes
|
| Rev | Line | |
|---|
| [840] | 1 | // This file is a part of Framsticks SDK. http://www.framsticks.com/
|
|---|
| 2 | // Copyright (C) 1999-2015 Maciej Komosinski and Szymon Ulatowski.
|
|---|
| 3 | // See LICENSE.txt for details.
|
|---|
| 4 |
|
|---|
| 5 | #ifndef _UTIL_FILES_H_
|
|---|
| 6 | #define _UTIL_FILES_H_
|
|---|
| 7 |
|
|---|
| 8 | #include "nonstd_stl.h"
|
|---|
| 9 |
|
|---|
| 10 | bool readCompleteFile(const char* filename, vector<char>& data, bool warn_on_missing_file = true);
|
|---|
| 11 | bool readCompleteFile(const char* filename, string& out, bool warn_on_missing_file = true);
|
|---|
| 12 | bool writeCompleteFile(const char* filename, const std::string& text, bool warn_on_fail = true);
|
|---|
| 13 | bool writeCompleteFile(const char* filename, vector<char>& data, bool warn_on_fail = true);
|
|---|
| 14 |
|
|---|
| 15 | #endif
|
|---|
Note: See
TracBrowser
for help on using the repository browser.