mirror of https://github.com/odrling/Aegisub
50 lines
1.1 KiB
C++
50 lines
1.1 KiB
C++
class AssFile;
|
|
class AudioBox;
|
|
class AudioController;
|
|
class AssDialogue;
|
|
class AudioKaraoke;
|
|
class DialogManager;
|
|
class SearchReplaceEngine;
|
|
class InitialLineState;
|
|
template<class T> class SelectionController;
|
|
class SubsController;
|
|
class SubsTextEditCtrl;
|
|
class BaseGrid;
|
|
class TextSelectionController;
|
|
class VideoContext;
|
|
class VideoDisplay;
|
|
class wxWindow;
|
|
namespace Automation4 { class ScriptManager; }
|
|
|
|
namespace agi {
|
|
|
|
struct Context {
|
|
// Models
|
|
AssFile *ass;
|
|
Automation4::ScriptManager *local_scripts;
|
|
InitialLineState *initialLineState;
|
|
|
|
// Controllers
|
|
AudioController *audioController;
|
|
SelectionController<AssDialogue *> *selectionController;
|
|
SubsController *subsController;
|
|
TextSelectionController *textSelectionController;
|
|
VideoContext *videoController;
|
|
|
|
SearchReplaceEngine *search;
|
|
|
|
// Things that should probably be in some sort of UI-context-model
|
|
wxWindow *parent;
|
|
wxWindow *previousFocus;
|
|
wxWindow *videoSlider;
|
|
|
|
// Views (i.e. things that should eventually not be here at all)
|
|
AudioBox *audioBox;
|
|
AudioKaraoke *karaoke;
|
|
DialogManager *dialog;
|
|
BaseGrid *subsGrid;
|
|
VideoDisplay *videoDisplay;
|
|
};
|
|
|
|
}
|