diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-05 22:43:09 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-05 22:43:09 (GMT) |
commit | 5651b03574d2dc2d117840022d01326885d7392f (patch) | |
tree | 2b41cef4d4483d2c790bf98fbbf93438aeb41e38 /abs/core-testing/mythinstall/installsettings.cpp | |
parent | cc8b4d0d2aabfa795f82b65486dcfab7d34ee87b (diff) | |
download | linhes_pkgbuild-5651b03574d2dc2d117840022d01326885d7392f.zip linhes_pkgbuild-5651b03574d2dc2d117840022d01326885d7392f.tar.gz linhes_pkgbuild-5651b03574d2dc2d117840022d01326885d7392f.tar.bz2 |
MythInstall:Added MythZoneMinder to list of installable software.
Diffstat (limited to 'abs/core-testing/mythinstall/installsettings.cpp')
-rwxr-xr-x | abs/core-testing/mythinstall/installsettings.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/abs/core-testing/mythinstall/installsettings.cpp b/abs/core-testing/mythinstall/installsettings.cpp index 3942460..0a6afb5 100755 --- a/abs/core-testing/mythinstall/installsettings.cpp +++ b/abs/core-testing/mythinstall/installsettings.cpp @@ -1344,6 +1344,16 @@ static HostCheckBox *HostXscreensaver() }; +static HostCheckBox *Hostpluginmythzoneminder() +{ + HostCheckBox *gc = new HostCheckBox("Hostpluginmythzoneminder"); + gc->setLabel(QObject::tr("mythzoneminder")); + gc->setValue(false); + gc->setHelpText(QObject::tr("check to enable mythzoneminder")); + return gc; +}; + + // -------------End plugins-------------------------------- @@ -3923,6 +3933,7 @@ void writesettings () hostparm.ThisHostpluginmythsmolt = gContext->GetSetting("Hostpluginmythsmolt"); hostparm.ThisHostpluginmythvideo = gContext->GetSetting("Hostpluginmythvideo"); hostparm.ThisHostpluginmythweather = gContext->GetSetting("Hostpluginmythweather"); + hostparm.ThisHostpluginmythzoneminder = gContext->GetSetting("Hostpluginmythzoneminder"); hostparm.ThisHostpluginmythgameFceu = gContext->GetSetting("HostpluginmythgameFceu"); hostparm.ThisHostpluginmythgameZsnes = gContext->GetSetting("HostpluginmythgameZsnes"); hostparm.ThisHostpluginmythgameMame = gContext->GetSetting("HostpluginmythgameMame"); @@ -4168,6 +4179,7 @@ void writesettings () myfile << "mythsmolt=\"" + hostparm.ThisHostpluginmythsmolt + "\"\n"; myfile << "mythvideo=\"" + hostparm.ThisHostpluginmythvideo + "\"\n"; myfile << "mythweather=\"" + hostparm.ThisHostpluginmythweather + "\"\n"; + myfile << "mythzoneminder=\"" + hostparm.ThisHostpluginmythzoneminder + "\"\n"; myfile << "fceu=\"" + hostparm.ThisHostpluginmythgameFceu + "\"\n"; myfile << "zsnes=\"" + hostparm.ThisHostpluginmythgameZsnes + "\"\n"; @@ -4427,6 +4439,7 @@ MythInstallSettings::MythInstallSettings() GridShowPlugin2->addChild(Hostpluginmythphone()); GridShowPlugin2->addChild(Hostpluginmythsmolt()); GridShowPlugin2->addChild(Hostpluginmythweather()); + GridShowPlugin2->addChild(Hostpluginmythzoneminder()); ConfigurationGroup *GridShowPlugin4 = new GridConfigurationGroup(2); GridShowPlugin4->addChild(Hostpluginmythappletrailers()); |