namespace GMap.NET
{
using System.IO;
using System;
///
/// pure abstraction for image cache
///
public interface PureImageCache
{
///
/// puts image to db
///
///
///
///
///
///
bool PutImageToCache(byte[] tile, int type, GPoint pos, int zoom);
///
/// gets image from db
///
///
///
///
///
PureImage GetImageFromCache(int type, GPoint pos, int zoom);
///
/// delete old tiles beyond a supplied date
///
/// Tiles older than this will be deleted.
/// provider dbid or null to use all providers
/// The number of deleted tiles.
int DeleteOlderThan(DateTime date, int ? type);
}
}