using System;
namespace Wayne.Lib.IO
{
///
/// File support extension. Used to plug in different behaviour to FileSupport dependent on what platform the program is executing on.
///
public interface IFileSupportExtension
{
///
/// Sets the creation time for a file
///
///
///
void SetCreationTime(string fileName, DateTime dateTime);
///
/// Sets the last access time for a file
///
///
///
void SetLastAccessTime(string fileName, DateTime dateTime);
///
/// Sets last write time for a file.
///
///
///
void SetLastWriteTime(string fileName, DateTime dateTime);
///
/// Get creation time on the file.
///
///
DateTime GetCreationTime(string fileName);
///
/// Get last access time on the file.
///
///
DateTime GetLastAccessTime(string fileName);
///
/// Get last write time on the file.
///
///
DateTime GetLastWriteTime(string fileName);
}
}