Changeset View
Changeset View
Standalone View
Standalone View
Modules/devinfo/solidhelper.cpp
Show All 15 Lines | |||||
16 | * You should have received a copy of the GNU General Public License | 16 | * You should have received a copy of the GNU General Public License | ||
17 | * along with this program; if not, write to the Free Software | 17 | * along with this program; if not, write to the Free Software | ||
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
19 | * | 19 | * | ||
20 | */ | 20 | */ | ||
21 | 21 | | |||
22 | #include "solidhelper.h" | 22 | #include "solidhelper.h" | ||
23 | 23 | | |||
24 | //Solid | ||||
25 | #include <solid/device.h> | ||||
26 | | ||||
24 | Solid::DeviceInterface::Type SolidHelper::deviceType(const Solid::Device *dev) | 27 | Solid::DeviceInterface::Type SolidHelper::deviceType(const Solid::Device *dev) | ||
25 | { | 28 | { | ||
26 | const Solid::DeviceInterface::Type needHardware[] = { | 29 | const Solid::DeviceInterface::Type needHardware[] = { | ||
27 | Solid::DeviceInterface::Processor, | 30 | Solid::DeviceInterface::Processor, | ||
28 | Solid::DeviceInterface::StorageDrive, | 31 | Solid::DeviceInterface::StorageDrive, | ||
29 | Solid::DeviceInterface::Battery, | 32 | Solid::DeviceInterface::Battery, | ||
30 | Solid::DeviceInterface::PortableMediaPlayer, | 33 | Solid::DeviceInterface::PortableMediaPlayer, | ||
31 | Solid::DeviceInterface::Camera, | 34 | Solid::DeviceInterface::Camera, | ||
Show All 10 Lines |