aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/file.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/file.hpp')
-rw-r--r--src/utils/file.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/utils/file.hpp b/src/utils/file.hpp
index d08d7eb5..87aba35c 100644
--- a/src/utils/file.hpp
+++ b/src/utils/file.hpp
@@ -27,17 +27,18 @@
#ifndef FILE_HPP
#define FILE_HPP
-#include <iostream>
-#include <fstream>
+#include <boost/filesystem.hpp>
+#include <boost/filesystem/fstream.hpp>
namespace usdx
{
class File
{
private:
- std::wifstream file;
+ boost::filesystem::wifstream file;
public:
File(const std::string& filename);
+ File(const boost::filesystem::wpath& path);
virtual ~File(void);
std::wistream &stream(void);