summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythinstall
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-09-05 22:43:09 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-09-05 22:43:09 (GMT)
commit5651b03574d2dc2d117840022d01326885d7392f (patch)
tree2b41cef4d4483d2c790bf98fbbf93438aeb41e38 /abs/core-testing/mythinstall
parentcc8b4d0d2aabfa795f82b65486dcfab7d34ee87b (diff)
downloadlinhes_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')
-rw-r--r--abs/core-testing/mythinstall/PKGBUILD2
-rwxr-xr-xabs/core-testing/mythinstall/installsettings.cpp13
-rwxr-xr-xabs/core-testing/mythinstall/installsettings.h1
3 files changed, 15 insertions, 1 deletions
diff --git a/abs/core-testing/mythinstall/PKGBUILD b/abs/core-testing/mythinstall/PKGBUILD
index c614fac..5a936da 100644
--- a/abs/core-testing/mythinstall/PKGBUILD
+++ b/abs/core-testing/mythinstall/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Jams
pkgname=mythinstall
pkgver=1
-pkgrel=10
+pkgrel=11
pkgdesc="LinHES installer/systemconfig GUI."
arch=i686
depends=()
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());
diff --git a/abs/core-testing/mythinstall/installsettings.h b/abs/core-testing/mythinstall/installsettings.h
index c140f3d..a177921 100755
--- a/abs/core-testing/mythinstall/installsettings.h
+++ b/abs/core-testing/mythinstall/installsettings.h
@@ -442,6 +442,7 @@ struct HostParms
QString ThisHostpluginmythsmolt;
QString ThisHostpluginmythvideo;
QString ThisHostpluginmythweather;
+ QString ThisHostpluginmythzoneminder;
QString ThisHostpluginmythgameFceu;
QString ThisHostpluginmythgameZsnes;
QString ThisHostpluginmythgameMame;