mirror of https://github.com/odrling/Aegisub
45 lines
1020 B
C++
45 lines
1020 B
C++
class AssFile;
|
|
class AudioBox;
|
|
class AudioController;
|
|
class AssDialogue;
|
|
class AudioKaraoke;
|
|
class DialogDetachedVideo;
|
|
class DialogStyling;
|
|
class DialogTranslation;
|
|
template<class T> class SelectionController;
|
|
class SubsTextEditCtrl;
|
|
class SubtitlesGrid;
|
|
class VideoBox;
|
|
class VideoContext;
|
|
class wxWindow;
|
|
namespace Automation4 { class ScriptManager; }
|
|
|
|
namespace agi {
|
|
|
|
struct Context {
|
|
// Models
|
|
AssFile *ass;
|
|
Automation4::ScriptManager *local_scripts;
|
|
|
|
// Controllers
|
|
AudioController *audioController;
|
|
SelectionController<AssDialogue> *selectionController;
|
|
VideoContext *videoController;
|
|
|
|
// Things that should probably be in some sort of UI-context-model
|
|
wxWindow *parent;
|
|
wxWindow *previousFocus;
|
|
|
|
// Views (i.e. things that should eventually not be here at all)
|
|
AudioBox *audioBox;
|
|
AudioKaraoke *karaoke;
|
|
DialogDetachedVideo *detachedVideo;
|
|
DialogStyling *stylingAssistant;
|
|
DialogTranslation *translationAssistant;
|
|
SubsTextEditCtrl *editBox;
|
|
SubtitlesGrid *subsGrid;
|
|
VideoBox *videoBox;
|
|
};
|
|
|
|
}
|