2011-01-16 08:16:48 +01:00
|
|
|
class AssFile;
|
2011-01-05 19:40:37 +01:00
|
|
|
class AudioBox;
|
|
|
|
class AudioController;
|
2011-01-16 08:17:02 +01:00
|
|
|
class AssDialogue;
|
2011-09-28 21:44:07 +02:00
|
|
|
class AudioKaraoke;
|
2012-03-09 01:23:41 +01:00
|
|
|
class DialogManager;
|
2013-01-11 17:53:36 +01:00
|
|
|
class SearchReplaceEngine;
|
2012-10-12 01:46:53 +02:00
|
|
|
class InitialLineState;
|
2014-03-25 01:15:14 +01:00
|
|
|
class SelectionController;
|
2013-01-26 02:57:46 +01:00
|
|
|
class SubsController;
|
2011-09-15 07:17:07 +02:00
|
|
|
class SubsTextEditCtrl;
|
2013-06-19 04:28:11 +02:00
|
|
|
class BaseGrid;
|
2012-10-08 16:32:51 +02:00
|
|
|
class TextSelectionController;
|
2011-01-16 08:15:24 +01:00
|
|
|
class VideoContext;
|
2011-11-12 02:23:18 +01:00
|
|
|
class VideoDisplay;
|
2011-01-16 08:16:48 +01:00
|
|
|
class wxWindow;
|
|
|
|
namespace Automation4 { class ScriptManager; }
|
Merge the dynamic menu, hotkey and toolbar branch to trunk. This doesn't include Windows support as vs2008 was being a major pain. This involves revisions r4921:4950, r4961:5002, r5005:5006, r5008:5056, r5062:5065, r5072, r5081:5082, r5087, r5096:5110, r5124:5125. Updates #1258.
Originally committed to SVN as r5126.
2011-01-05 14:00:46 +01:00
|
|
|
|
|
|
|
namespace agi {
|
|
|
|
|
|
|
|
struct Context {
|
2011-01-16 08:16:48 +01:00
|
|
|
// Models
|
|
|
|
AssFile *ass;
|
|
|
|
Automation4::ScriptManager *local_scripts;
|
2012-10-12 01:46:53 +02:00
|
|
|
InitialLineState *initialLineState;
|
Merge the dynamic menu, hotkey and toolbar branch to trunk. This doesn't include Windows support as vs2008 was being a major pain. This involves revisions r4921:4950, r4961:5002, r5005:5006, r5008:5056, r5062:5065, r5072, r5081:5082, r5087, r5096:5110, r5124:5125. Updates #1258.
Originally committed to SVN as r5126.
2011-01-05 14:00:46 +01:00
|
|
|
|
2011-01-16 08:16:48 +01:00
|
|
|
// Controllers
|
|
|
|
AudioController *audioController;
|
2014-03-25 01:15:14 +01:00
|
|
|
SelectionController *selectionController;
|
2013-01-26 02:57:46 +01:00
|
|
|
SubsController *subsController;
|
2012-10-08 16:32:51 +02:00
|
|
|
TextSelectionController *textSelectionController;
|
2011-01-16 08:16:54 +01:00
|
|
|
VideoContext *videoController;
|
2011-01-16 08:16:48 +01:00
|
|
|
|
2013-01-11 17:53:36 +01:00
|
|
|
SearchReplaceEngine *search;
|
|
|
|
|
2011-01-16 08:16:48 +01:00
|
|
|
// Things that should probably be in some sort of UI-context-model
|
|
|
|
wxWindow *parent;
|
|
|
|
wxWindow *previousFocus;
|
2011-11-12 02:23:18 +01:00
|
|
|
wxWindow *videoSlider;
|
Merge the dynamic menu, hotkey and toolbar branch to trunk. This doesn't include Windows support as vs2008 was being a major pain. This involves revisions r4921:4950, r4961:5002, r5005:5006, r5008:5056, r5062:5065, r5072, r5081:5082, r5087, r5096:5110, r5124:5125. Updates #1258.
Originally committed to SVN as r5126.
2011-01-05 14:00:46 +01:00
|
|
|
|
2011-01-16 08:16:48 +01:00
|
|
|
// Views (i.e. things that should eventually not be here at all)
|
Merge the dynamic menu, hotkey and toolbar branch to trunk. This doesn't include Windows support as vs2008 was being a major pain. This involves revisions r4921:4950, r4961:5002, r5005:5006, r5008:5056, r5062:5065, r5072, r5081:5082, r5087, r5096:5110, r5124:5125. Updates #1258.
Originally committed to SVN as r5126.
2011-01-05 14:00:46 +01:00
|
|
|
AudioBox *audioBox;
|
2011-09-28 21:44:07 +02:00
|
|
|
AudioKaraoke *karaoke;
|
2012-03-09 01:23:41 +01:00
|
|
|
DialogManager *dialog;
|
2013-06-19 04:28:11 +02:00
|
|
|
BaseGrid *subsGrid;
|
2011-11-12 02:23:18 +01:00
|
|
|
VideoDisplay *videoDisplay;
|
Merge the dynamic menu, hotkey and toolbar branch to trunk. This doesn't include Windows support as vs2008 was being a major pain. This involves revisions r4921:4950, r4961:5002, r5005:5006, r5008:5056, r5062:5065, r5072, r5081:5082, r5087, r5096:5110, r5124:5125. Updates #1258.
Originally committed to SVN as r5126.
2011-01-05 14:00:46 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|