HarmattanSyncApplications
|
Default Implementation of DeviceInfo class. More...
#include <DeviceInfo.h>
Public Types | |
enum | Source { ReadFromSystem , ReadFromXml , ReadFromSystem , ReadFromXml } |
getDeviceInformation call checks this enum More... | |
enum | Source { ReadFromSystem , ReadFromXml , ReadFromSystem , ReadFromXml } |
getDeviceInformation call checks this enum More... | |
Public Member Functions | |
DeviceInfo () | |
Constructor. | |
virtual | ~DeviceInfo () |
Destructor. | |
void | setSourceToRead (Source &) |
set properties to read from the devicse | |
Source | getSourceToRead () |
get method for source | |
bool | setDeviceXmlFile (QString &fileName) |
set the file path to read device information from | |
QString | DeviceXmlFile () |
get the file name from where the device information is read from | |
QMap< QString, QString > | getDeviceInformation () |
Retrieves Device Information as Map. | |
void | saveDevInfoToFile (QMap< QString, QString > &aDevInfo, QString &aFileName) |
Saves Device Information to the filename. | |
DeviceInfo () | |
Constructor. | |
virtual | ~DeviceInfo () |
Destructor. | |
void | setSourceToRead (Source &) |
set properties to read from the devicse | |
Source | getSourceToRead () |
get method for source | |
bool | setDeviceXmlFile (QString &fileName) |
set the file path to read device information from | |
QString | DeviceXmlFile () |
get the file name from where the device information is read from | |
QMap< QString, QString > | getDeviceInformation () |
Retrieves Device Information as Map. | |
void | saveDevInfoToFile (QMap< QString, QString > &aDevInfo, QString &aFileName) |
Saves Device Information to the filename. | |
Default Implementation of DeviceInfo class.
QString Buteo::DeviceInfo::DeviceXmlFile | ( | ) |
get the file name from where the device information is read from
get method
QString Buteo::DeviceInfo::DeviceXmlFile | ( | ) |
get the file name from where the device information is read from
get method
QMap< QString, QString > Buteo::DeviceInfo::getDeviceInformation | ( | ) |
Retrieves Device Information as Map.
This API reads the device information as per the respective implementation
QMap< QString, QString > Buteo::DeviceInfo::getDeviceInformation | ( | ) |
Retrieves Device Information as Map.
This API reads the device information as per the respective implementation
Source Buteo::DeviceInfo::getSourceToRead | ( | ) |
get method for source
Source Buteo::DeviceInfo::getSourceToRead | ( | ) |
get method for source
void Buteo::DeviceInfo::saveDevInfoToFile | ( | QMap< QString, QString > & | aDevInfo, |
QString & | aFileName | ||
) |
Saves Device Information to the filename.
This API saves the device information to the file
void Buteo::DeviceInfo::saveDevInfoToFile | ( | QMap< QString, QString > & | aDevInfo, |
QString & | aFileName | ||
) |
Saves Device Information to the filename.
This API saves the device information to the file
bool Buteo::DeviceInfo::setDeviceXmlFile | ( | QString & | fileName | ) |
set the file path to read device information from
This API sets the xml file on the system from where the device info has to be read from
bool Buteo::DeviceInfo::setDeviceXmlFile | ( | QString & | fileName | ) |
set the file path to read device information from
This API sets the xml file on the system from where the device info has to be read from
void Buteo::DeviceInfo::setSourceToRead | ( | Source & | ) |
set properties to read from the devicse
This API sets the source to read from
void Buteo::DeviceInfo::setSourceToRead | ( | Source & | ) |
set properties to read from the devicse
This API sets the source to read from