/* ====================================================================
 * Copyright 2006,          Martin Hauner
 *                          http://subcommander.tigris.org
 *
 * Subcommander is licensed as described in the file doc/COPYING, which
 * you should have received as part of this distribution.
 * ====================================================================
 */

#ifndef _SC_REPOSITORYCACHE_H
#define _SC_REPOSITORYCACHE_H

// sc
#include "ListCache.h"
#include "RpListCache.h"


class RepositoryCache : public ListCache
{
public:
  RepositoryCache();

  void setRpList( const sc::String& url, svn::Revnumber rev, const svn::DirEntries& list );
  bool getRpList( const sc::String& url, svn::Revnumber rev, svn::DirEntries& list );

private:
  RpListCache _cache;
};

#endif // _SC_REPOSITORYCACHE_H
