Merge #10769: [Qt] replace fee slider with a Dropdown, extend conf. targets
[bitcoinplatinum.git] / src / fs.h
blobabb4be254b8fa00f76a43fcaf99b54f310cc3254
1 // Copyright (c) 2017 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 #ifndef BITCOIN_FS_H
6 #define BITCOIN_FS_H
8 #include <stdio.h>
9 #include <string>
11 #include <boost/filesystem.hpp>
12 #include <boost/filesystem/fstream.hpp>
13 #include <boost/filesystem/detail/utf8_codecvt_facet.hpp>
15 /** Filesystem operations and types */
16 namespace fs = boost::filesystem;
18 /** Bridge operations to C stdio */
19 namespace fsbridge {
20 FILE *fopen(const fs::path& p, const char *mode);
21 FILE *freopen(const fs::path& p, const char *mode, FILE *stream);
24 #endif // BITCOIN_FS_H