Ignore:
Timestamp:
04/11/21 02:08:46 (3 years ago)
Author:
Maciej Komosinski
Message:

Added helper utility functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/common/util-file.h

    r840 r1124  
    11// This file is a part of Framsticks SDK.  http://www.framsticks.com/
    2 // Copyright (C) 1999-2015  Maciej Komosinski and Szymon Ulatowski.
     2// Copyright (C) 1999-2021  Maciej Komosinski and Szymon Ulatowski.
    33// See LICENSE.txt for details.
    44
     
    77
    88#include "nonstd_stl.h"
     9#include "virtfile/virtfile.h"
    910
    1011bool readCompleteFile(const char* filename, vector<char>& data, bool warn_on_missing_file = true);
     
    1213bool writeCompleteFile(const char* filename, const std::string& text, bool warn_on_fail = true);
    1314bool writeCompleteFile(const char* filename, vector<char>& data, bool warn_on_fail = true);
     15string readUntilEOL(VirtFILE *f);
    1416
    1517#endif
Note: See TracChangeset for help on using the changeset viewer.