4 #ifndef APPLICATIONCONTROLLER
5 #define APPLICATIONCONTROLLER
17 #include "python/PythonQtScriptingConsole.h"
21 class PythonQtScriptingConsole;
25 #include <QApplication>
48 PdLocalServer* _localServer;
50 QThread* _serverThread;
53 PythonQtScriptingConsole* _pythonConsole;
57 int _newFilenameCounter;
64 void loadAllLibraries();
66 static ProcessPtr _theServerInstance;
75 ProcessPtr mainServerInstance();
77 Observer* controllerObserver();
83 return QString(
"Untitled-" + QString::number(_newFilenameCounter++));
86 void createRecentMenu();
92 static void post(QString text);
102 void getLocalServer(ProcessPtr* ret);
105 void newPatchWindowController();
106 void openFileDialog();
109 void pythonConsole();
111 void preferencesWindow();
112 void audioSettingsWindow();
121 ObjectId slotCreateObject(CanvasPtr canvas,
string name);
125 #endif // CM_PDLINK_H
Pd console window.
Definition: PdWindow.h:26
QString newFileName()
Definition: ApplicationController.h:81
The Application Controller class.
Definition: ApplicationController.h:44
Definition: recentfiles.h:8
QMenu * recentMenu()
Definition: ApplicationController.h:88
minimal class to run python scripts (from menu)
Definition: scriptrunner.h:7
EXTERN void post(const char *fmt,...)
shared_ptr< PdWindowConsoleObserver > PdWindowConsoleObserverPtr
Definition: pdWindowConsoleObserver.h:34
Definition: filepaths.h:17
FilePaths * filePaths()
Definition: ApplicationController.h:90