Permalink
Browse files

Allow RHD2000Editor to save custom parameters

  • Loading branch information...
jsiegle
jsiegle committed Feb 28, 2014
1 parent f6684d2 commit 4eaed8c623f905e450f83662d8c91339415e1612
Showing with 4 additions and 4 deletions.
  1. +2 −2 Source/Processors/Editors/RHD2000Editor.cpp
  2. +2 −2 Source/Processors/Editors/RHD2000Editor.h
@@ -185,15 +185,15 @@ void RHD2000Editor::stopAcquisition()
}
-void RHD2000Editor::saveEditorParameters(XmlElement* xml)
+void RHD2000Editor::saveCustomParameters(XmlElement* xml)
{
xml->setAttribute("SampleRate", sampleRateInterface->getSelectedId());
xml->setAttribute("LowCut", bandwidthInterface->getLowerBandwidth());
xml->setAttribute("HighCut", bandwidthInterface->getUpperBandwidth());
xml->setAttribute("ADCsOn", adcButton->getToggleState());
}
-void RHD2000Editor::loadEditorParameters(XmlElement* xml)
+void RHD2000Editor::loadCustomParameters(XmlElement* xml)
{
sampleRateInterface->setSelectedId(xml->getIntAttribute("SampleRate"));
@@ -62,8 +62,8 @@ class RHD2000Editor : public GenericEditor
void channelChanged(int chan);
- void saveEditorParameters(XmlElement* xml);
- void loadEditorParameters(XmlElement* xml);
+ void saveCustomParameters(XmlElement* xml);
+ void loadCustomParameters(XmlElement* xml);
private:

0 comments on commit 4eaed8c

Please sign in to comment.