#include <FedoraCoreDistribution.h>
Inheritance diagram for hwdet::FedoraCoreDistribution:
Public Member Functions | |
FedoraCoreDistribution (MessageReporter *parent_reporter) | |
Construct new distro handler. | |
virtual | ~FedoraCoreDistribution (void) |
Free used resources. | |
virtual float | GetFitness (void) |
Get fitness value for current distro. | |
virtual bool | DetectOS (XMLElement *root_node) |
Detect properties of the installed OS. | |
Private Attributes | |
float | fitness |
Fitness for current OS. | |
String | full_name |
Full name of the distro. | |
String | version |
FC version. |
hwdet::FedoraCoreDistribution::FedoraCoreDistribution | ( | MessageReporter * | parent_reporter | ) |
Construct new distro handler.
This will also register all packagers available for Fedora. Currently only RPM handler is available. Distribution name is set to value of the DISTRIBUTION_NAME.
parent_reporter | Message reporter which will receive all messages generated by this class. |
hwdet::FedoraCoreDistribution::~FedoraCoreDistribution | ( | void | ) | [virtual] |
Free used resources.
bool hwdet::FedoraCoreDistribution::DetectOS | ( | XMLElement * | root_node | ) | [virtual] |
Detect properties of the installed OS.
root_node | Node which will receive details about the OS. |
Implements hwdet::Distribution.
float hwdet::FedoraCoreDistribution::GetFitness | ( | void | ) | [virtual] |
Get fitness value for current distro.
Implements hwdet::Distribution.
float hwdet::FedoraCoreDistribution::fitness [private] |
Fitness for current OS.
Full name of the distro.
String hwdet::FedoraCoreDistribution::version [private] |
FC version.