Mercurial > hg > sonic-visualiser
comparison main/OSCHandler.cpp @ 248:842745edded8
* juggle some files around in order to free audioio, base, and system libraries
from dependency on QtGui
author | Chris Cannam |
---|---|
date | Wed, 12 Mar 2008 17:42:56 +0000 |
parents | 99e0dfd3ea75 |
children | 9d772bee2095 |
comparison
equal
deleted
inserted
replaced
247:587c79827c69 | 248:842745edded8 |
---|---|
19 #include "layer/WaveformLayer.h" | 19 #include "layer/WaveformLayer.h" |
20 #include "view/ViewManager.h" | 20 #include "view/ViewManager.h" |
21 #include "view/Pane.h" | 21 #include "view/Pane.h" |
22 #include "view/PaneStack.h" | 22 #include "view/PaneStack.h" |
23 #include "data/model/WaveFileModel.h" | 23 #include "data/model/WaveFileModel.h" |
24 #include "base/CommandHistory.h" | 24 #include "widgets/CommandHistory.h" |
25 #include "audioio/AudioCallbackPlaySource.h" | 25 #include "audioio/AudioCallbackPlaySource.h" |
26 #include "audioio/AudioCallbackPlayTarget.h" | 26 #include "audioio/AudioCallbackPlayTarget.h" |
27 #include "framework/Document.h" | 27 #include "framework/Document.h" |
28 #include "data/fileio/WavFileWriter.h" | 28 #include "data/fileio/WavFileWriter.h" |
29 #include "plugin/transform/TransformFactory.h" | 29 #include "plugin/transform/TransformFactory.h" |
349 } | 349 } |
350 } | 350 } |
351 if (container) { | 351 if (container) { |
352 QString nameString = message.getArg(1).toString(); | 352 QString nameString = message.getArg(1).toString(); |
353 QString valueString = message.getArg(2).toString(); | 353 QString valueString = message.getArg(2).toString(); |
354 container->setPropertyWithCommand(nameString, valueString); | 354 Command *c = container->getSetPropertyCommand |
355 (nameString, valueString); | |
356 if (c) CommandHistory::getInstance()->addCommand(c, true, true); | |
355 } | 357 } |
356 } | 358 } |
357 | 359 |
358 } else if (message.getMethod() == "setcurrent") { | 360 } else if (message.getMethod() == "setcurrent") { |
359 | 361 |