This commit is contained in:
fgerlits 2007-02-09 11:20:46 +00:00
parent 9a3a7a3ebd
commit 01b4a6d993
4 changed files with 40 additions and 1 deletions

View File

@ -14,6 +14,7 @@
taskbarIcons,
testAudioUrl,
serialPort,
rdsContainer,
metadataTypeContainer,
keyboardShortcutList) >
@ -105,6 +106,12 @@
<!ELEMENT serialPort EMPTY >
<!ATTLIST serialPort path CDATA #REQUIRED >
<!ELEMENT rdsContainer (rdsItem*) >
<!ELEMENT rdsItem EMPTY >
<!ATTLIST rdsItem key CDATA #REQUIRED >
<!ATTLIST rdsItem value CDATA #REQUIRED >
<!ATTLIST rdsItem enabled CDATA #REQUIRED >
<!ELEMENT metadataTypeContainer (metadataType+) >
<!ELEMENT metadataType (constraint?) >
@ -195,6 +202,12 @@
<serialPort path = "/dev/ttyS0" />
<rdsContainer>
<rdsItem key="PS" value="" enabled="0"/>
<rdsItem key="PI" value="" enabled="0"/>
<rdsItem key="RT" value="" enabled="0"/>
</rdsContainer>
<metadataTypeContainer>
<metadataType dcName = "dc:title"
id3Tag = "TIT2"

View File

@ -14,6 +14,7 @@
taskbarIcons,
testAudioUrl,
serialPort,
rdsContainer,
metadataTypeContainer,
keyboardShortcutList) >
@ -105,6 +106,12 @@
<!ELEMENT serialPort EMPTY >
<!ATTLIST serialPort path CDATA #REQUIRED >
<!ELEMENT rdsContainer (rdsItem*) >
<!ELEMENT rdsItem EMPTY >
<!ATTLIST rdsItem key CDATA #REQUIRED >
<!ATTLIST rdsItem value CDATA #REQUIRED >
<!ATTLIST rdsItem enabled CDATA #REQUIRED >
<!ELEMENT metadataTypeContainer (metadataType+) >
<!ELEMENT metadataType (constraint?) >
@ -194,6 +201,12 @@
<serialPort path = "/dev/ttyS0" />
<rdsContainer>
<rdsItem key="PS" value="" enabled="0"/>
<rdsItem key="PI" value="" enabled="0"/>
<rdsItem key="RT" value="" enabled="0"/>
</rdsContainer>
<metadataTypeContainer>
<metadataType dcName = "dc:title"
id3Tag = "TIT2"

View File

@ -14,6 +14,7 @@
taskbarIcons,
testAudioUrl,
serialPort,
rdsContainer,
metadataTypeContainer,
keyboardShortcutList) >
@ -105,6 +106,12 @@
<!ELEMENT serialPort EMPTY >
<!ATTLIST serialPort path CDATA #REQUIRED >
<!ELEMENT rdsContainer (rdsItem*) >
<!ELEMENT rdsItem EMPTY >
<!ATTLIST rdsItem key CDATA #REQUIRED >
<!ATTLIST rdsItem value CDATA #REQUIRED >
<!ATTLIST rdsItem enabled CDATA #REQUIRED >
<!ELEMENT metadataTypeContainer (metadataType+) >
<!ELEMENT metadataType (constraint?) >
@ -194,6 +201,12 @@
<serialPort path = "/dev/ttyS0" />
<rdsContainer>
<rdsItem key="PS" value="" enabled="0"/>
<rdsItem key="PI" value="" enabled="0"/>
<rdsItem key="RT" value="" enabled="0"/>
</rdsContainer>
<metadataTypeContainer>
<metadataType dcName = "dc:title"
id3Tag = "TIT2"

View File

@ -113,7 +113,7 @@ RdsEntry :: saveChanges(Ptr<GLiveSupport>::Ref gLiveSupport) throw ()
entryBinNow(new const Glib::ustring(entryBin->get_text()));
if (!entryBinSaved || checkBoxNow != checkBoxSaved
|| entryBinNow != entryBinSaved) {
|| *entryBinNow != *entryBinSaved) {
Ptr<OptionsContainer>::Ref optionsContainer =
gLiveSupport->getOptionsContainer();
optionsContainer->setRdsOptions(type, entryBinNow, checkBoxNow);