13 #ifndef ZYPP_TARGET_HAL_HALCONTEXT_H 14 #define ZYPP_TARGET_HAL_HALCONTEXT_H 42 class HalContext_Impl;
84 std::vector<std::string>
111 std::vector<std::string>
116 const std::string &key)
const;
120 const std::string &key)
const;
124 const std::string &key)
const;
128 const std::string &key)
const;
132 const std::string &key)
const;
136 const std::string &key,
141 const std::string &key,
146 const std::string &key,
151 const std::string &key,
156 const std::string &key,
157 const std::string &value);
161 const std::string &key);
202 getDeviceFile()
const;
208 getDeviceMajor()
const;
214 getDeviceMinor()
const;
220 usesRemovableMedia()
const;
233 std::vector<std::string>
234 getCdromCapabilityNames()
const;
240 std::vector<std::string>
241 findAllVolumes()
const;
282 getDeviceFile()
const;
288 getDeviceMajor()
const;
294 getDeviceMinor()
const;
321 getMountPoint()
const;
342 #endif // ZYPP_TARGET_HAL_HALCONTEXT_H
bool getDevicePropertyBool(const std::string &udi, const std::string &key) const
int32_t getDevicePropertyInt32(const std::string &udi, const std::string &key) const
Hardware abstaction layer storage drive object.
std::vector< std::string > getAllDevices() const
Retrieve UDI's of all devices.
HalDrive getDriveFromUDI(const std::string &udi) const
Construct a HalDrive object for the specified UDI.
void setDevicePropertyString(const std::string &udi, const std::string &key, const std::string &value)
std::string getDevicePropertyString(const std::string &udi, const std::string &key) const
zypp::RW_pointer< HalDrive_Impl >::unspecified_bool_type bool_type
zypp::RW_pointer< HalVolume_Impl > v_impl
uint64_t getDevicePropertyUInt64(const std::string &udi, const std::string &key) const
Hardware abstaction layer storage volume object.
HalVolume getVolumeFromUDI(const std::string &udi) const
Construct a HalVolume object for the specified UDI.
void setDevicePropertyDouble(const std::string &udi, const std::string &key, double value)
void setDevicePropertyInt32(const std::string &udi, const std::string &key, int32_t value)
HalContext(bool autoconnect=false)
std::vector< std::string > findDevicesByCapability(const std::string &capability) const
Retrieve UDI's of all devices with a capability.
HalVolume getVolumeFromDeviceFile(const std::string &device_file) const
zypp::RW_pointer< HalDrive_Impl > d_impl
void setDevicePropertyUInt64(const std::string &udi, const std::string &key, uint64_t value)
HalContext & operator=(const HalContext &context)
Hardware abstaction layer library wrapper.
Wrapper for const correct access via Smart pointer types.
zypp::RW_pointer< HalVolume_Impl >::unspecified_bool_type bool_type
zypp::RW_pointer< HalContext_Impl > h_impl
double getDevicePropertyDouble(const std::string &udi, const std::string &key) const
void removeDeviceProperty(const std::string &udi, const std::string &key)
Easy-to use interface to the ZYPP dependency resolver.
void setDevicePropertyBool(const std::string &udi, const std::string &key, bool value)
zypp::RW_pointer< HalContext_Impl >::unspecified_bool_type bool_type