This repository has been archived on 2024-11-17. You can view files and clone it, but cannot push or open issues or pull requests.
zamek-hswro/IKeyStorage.h

17 lines
314 B
C
Raw Permalink Normal View History

2017-12-17 11:31:13 +00:00
#ifndef IKEYSTORAGE_H
#define IKEYSTORAGE_H
#include "Key.h"
class IKeyStorage
{
public:
virtual ~IKeyStorage() {}
virtual bool contains(const Key& key) = 0;
virtual bool insert(const Key& existingKey, const Key& newKey) = 0;
virtual bool remove(const Key& key) = 0;
};
#endif // IKEYSTORAGE_H