AndroidDeviceLister.h 579 Bytes
Newer Older
Geoffrey Métais's avatar
Geoffrey Métais committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#ifndef ANDROIDDEVICELISTER_H
#define ANDROIDDEVICELISTER_H

#include <medialibrary/IDeviceLister.h>
#include <string>
#include <vector>
#include <unordered_map>


class AndroidDeviceLister : public medialibrary::IDeviceLister
{
public:
    AndroidDeviceLister();
    std::vector<std::tuple<std::string, std::string, bool>> devices() const;
    void addDevice(std::string, std::string, bool);
    bool removeDevice(std::string uuidToRemove);

private:
    std::unordered_map<std::string, std::tuple<std::string, std::string, bool>> m_devices;
};

#endif // ANDROIDDEVICELISTER_H