예제 #1
0
파일: myth.cpp 프로젝트: adicarlo/mythtv
QString Myth::ProfileURL()
{
    QString sProfileURL;

    HardwareProfile profile;
    profile.GenerateUUIDs();
    sProfileURL = profile.GetProfileURL();
    LOG(VB_GENERAL, LOG_NOTICE, QString("ProfileURL: %1").arg(sProfileURL));

    return sProfileURL;
}
예제 #2
0
QString Myth::ProfileURL()
{
    QString sProfileURL;

    HardwareProfile *profile = new HardwareProfile();
    if (profile)
    {
        profile->GenerateUUIDs();
        sProfileURL = profile->GetProfileURL();
        LOG(VB_GENERAL, LOG_NOTICE, QString("ProfileURL: %1").arg(sProfileURL));
    }
    delete profile;

    return sProfileURL;
}