/* * BobStore.h * Copyright (C) 2019 Adrien Destugues * * Distributed under terms of the MIT license. */ #pragma once #include "bobhandler.h" #include #include class BobStore: public BobHandler { public: static BobStore* Instance(); std::string Get(std::string key); void handleBob(const gloox::BOB* bob) final; private: std::map fStorage; };