tilde~
Puredata Qt-based GUI
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
pdWindowConsoleObserver.h
Go to the documentation of this file.
1 // (c) 2017 Alex Nadzharov
2 // License: GPL3
3 
4 #ifndef PDWINDOWCONSOLEOBSERVER
5 #define PDWINDOWCONSOLEOBSERVER
6 
7 // #include "pdServer.hpp"
8 
10 
11 #include <QApplication>
12 
13 #include <memory>
14 
15 using namespace xpd;
16 
17 using namespace std;
18 
19 namespace tilde {
20 
21 class PdWindow;
22 
25 class PdWindowConsoleObserver : public ConsoleObserver {
26 private:
27  PdWindow* _window;
28 
29 public:
30  void setWindow(PdWindow* w) { _window = w; };
31  void update();
32 };
33 
34 typedef shared_ptr<PdWindowConsoleObserver> PdWindowConsoleObserverPtr;
35 
36 }
37 
38 
39 
40 #endif // CM_PDLINK_H
Pd console window.
Definition: PdWindow.h:26
The observer for the Pd console.
Definition: pdWindowConsoleObserver.h:25
shared_ptr< PdWindowConsoleObserver > PdWindowConsoleObserverPtr
Definition: pdWindowConsoleObserver.h:34
void setWindow(PdWindow *w)
Definition: pdWindowConsoleObserver.h:30