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
bool getDevicePropertyBool(const std::string &udi, const std::string &key) const
std::vector< std::string > getCdromCapabilityNames() const
int32_t getDevicePropertyInt32(const std::string &udi, const std::string &key) const
std::string getMountPoint() 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.
unsigned int getDeviceMinor() const
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
std::string getTypeName() 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
unsigned int getDeviceMajor() const
HalVolume & operator=(const HalVolume &volume)
std::string getUDI() 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)
std::string getDeviceFile() const
void setDevicePropertyInt32(const std::string &udi, const std::string &key, int32_t value)
HalContext(bool autoconnect=false)
std::string getFSType() const
std::string getFSUsage() const
std::vector< std::string > findDevicesByCapability(const std::string &capability) const
Retrieve UDI's of all devices with a capability.
unsigned int getDeviceMajor() const
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)
bool usesRemovableMedia() const
HalContext & operator=(const HalContext &context)
unsigned int getDeviceMinor() const
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
std::vector< std::string > findAllVolumes() const
Retrieve UDI's of all volumes of this drive.
std::string getUDI() const
void removeDeviceProperty(const std::string &udi, const std::string &key)
void setDevicePropertyBool(const std::string &udi, const std::string &key, bool value)
std::string getDeviceFile() const
HalDrive & operator=(const HalDrive &drive)
zypp::RW_pointer< HalContext_Impl >::unspecified_bool_type bool_type