-/* $Id$
-
-This file is part of libmspio
-Copyright © 2007 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
#ifndef MSP_IO_FILE_H_
#define MSP_IO_FILE_H_
public:
enum CreateMode
{
- C_NONE=0,
- C_CREATE=1,
- C_TRUNCATE=2
+ C_NONE = 0,
+ C_CREATE = 1,
+ C_TRUNCATE = 2
};
- File(const std::string &, Mode=M_READ, CreateMode =CreateMode(C_CREATE+C_TRUNCATE));
+ File(const std::string &, Mode = M_READ, CreateMode =CreateMode(C_CREATE+C_TRUNCATE));
void close();