4 * @brief Declaration for FileLocation class.
7 // ID line follows -- this is updated by SVN
10 #ifndef FileLocation_included
11 #define FileLocation_included
13 #include "FileTextEncoding.h"
16 * @brief A structure containing file's path and encoding information.
20 String filepath; /**< Full path for the file. */
21 FileTextEncoding encoding; /**< Encoding info for the file. */
24 * The default constructor.
31 * The constructor taking a path as a parameter.
32 * @param [in] path Full path for the file.
34 FileLocation(const String& path) : filepath(path)
42 * @param [in] sFilePath Full path for the file.
44 void setPath(const String & sFilePath) { this->filepath = sFilePath; }
46 // Copy constructor & copy operator should do the obvious correct things
49 #endif // FileLocation_included