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);
233 std::vector<std::string>
240 std::vector<std::string>
342 #endif // ZYPP_TARGET_HAL_HALCONTEXT_H
HalVolume getVolumeFromUDI(const std::string &udi) const
Construct a HalVolume object for the specified UDI.
std::vector< std::string > findAllVolumes() const
Retrieve UDI's of all volumes of this drive.
std::string getDevicePropertyString(const std::string &udi, const std::string &key) const
Hardware abstaction layer storage drive object.
void setDevicePropertyString(const std::string &udi, const std::string &key, const std::string &value)
zypp::RW_pointer< HalDrive_Impl >::unspecified_bool_type bool_type
std::string getDeviceFile() const
zypp::RW_pointer< HalVolume_Impl > v_impl
HalVolume & operator=(const HalVolume &volume)
int32_t getDevicePropertyInt32(const std::string &udi, const std::string &key) const
Hardware abstaction layer storage volume object.
unsigned int getDeviceMajor() const
std::string getTypeName() const
HalVolume getVolumeFromDeviceFile(const std::string &device_file) const
void setDevicePropertyDouble(const std::string &udi, const std::string &key, double value)
std::string getFSType() const
unsigned int getDeviceMinor() const
void setDevicePropertyInt32(const std::string &udi, const std::string &key, int32_t value)
std::string getUDI() const
std::string getFSUsage() const
std::string getUDI() const
HalContext(bool autoconnect=false)
std::string getDeviceFile() const
std::vector< std::string > getCdromCapabilityNames() const
zypp::RW_pointer< HalDrive_Impl > d_impl
void setDevicePropertyUInt64(const std::string &udi, const std::string &key, uint64_t value)
std::vector< std::string > getAllDevices() const
Retrieve UDI's of all devices.
bool usesRemovableMedia() const
HalDrive getDriveFromUDI(const std::string &udi) const
Construct a HalDrive object for the specified UDI.
double getDevicePropertyDouble(const std::string &udi, const std::string &key) const
std::string getMountPoint() const
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
uint64_t getDevicePropertyUInt64(const std::string &udi, const std::string &key) const
bool getDevicePropertyBool(const std::string &udi, const std::string &key) const
void removeDeviceProperty(const std::string &udi, const std::string &key)
unsigned int getDeviceMajor() const
Easy-to use interface to the ZYPP dependency resolver.
void setDevicePropertyBool(const std::string &udi, const std::string &key, bool value)
unsigned int getDeviceMinor() const
std::vector< std::string > findDevicesByCapability(const std::string &capability) const
Retrieve UDI's of all devices with a capability.
HalDrive & operator=(const HalDrive &drive)
zypp::RW_pointer< HalContext_Impl >::unspecified_bool_type bool_type