mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
* Addressbook : move storage init code from constructor to Init() : was too early
This commit is contained in:
parent
85bd7a63c6
commit
2a4ba8d349
2 changed files with 6 additions and 4 deletions
|
@ -35,6 +35,7 @@ namespace client
|
|||
virtual void AddAddress (std::shared_ptr<const i2p::data::IdentityEx> address) = 0;
|
||||
virtual void RemoveAddress (const i2p::data::IdentHash& ident) = 0;
|
||||
|
||||
virtual bool Init () = 0;
|
||||
virtual int Load (std::map<std::string, i2p::data::IdentHash>& addresses) = 0;
|
||||
virtual int Save (const std::map<std::string, i2p::data::IdentHash>& addresses) = 0;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue