Skip to content
Snippets Groups Projects
Device.hpp 1.46 KiB
Newer Older
Philip Müller's avatar
Philip Müller committed
/*
 *  This file is part of the mhwd - Manjaro Hardware Detection project
 *  
dec's avatar
dec committed
 *  mhwd - Manjaro Hardware Detection
 *  Roland Singer <roland@manjaro.org>
 *  Łukasz Matysiak <december0123@gmail.com>
Philip Müller's avatar
Philip Müller committed
 *  Filipe Marques <eagle.software3@gmail.com>
Philip Müller's avatar
Philip Müller committed
 *
dec's avatar
dec committed
 *  Copyright (C) 2007 Free Software Foundation, Inc.
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
Philip Müller's avatar
Philip Müller committed
 */

#ifndef DEVICE_HPP_
#define DEVICE_HPP_

december0123's avatar
december0123 committed
#include <memory>
Philip Müller's avatar
Philip Müller committed
#include <string>
#include <vector>

december0123's avatar
december0123 committed
#include "Config.hpp"

Philip Müller's avatar
Philip Müller committed
struct Device
{
december0123's avatar
december0123 committed
    std::string type_;
    std::string className_;
    std::string deviceName_;
    std::string vendorName_;
    std::string classID_;
    std::string deviceID_;
    std::string vendorID_;
    std::string sysfsBusID_;
    std::string sysfsID_;
december0123's avatar
december0123 committed
    std::vector<std::shared_ptr<Config>> availableConfigs_;
    std::vector<std::shared_ptr<Config>> installedConfigs_;
Philip Müller's avatar
Philip Müller committed
};

#endif /* DEVICE_HPP_ */