Aegisub/aegisub/src/include/aegisub/context.h

43 lines
971 B
C
Raw Normal View History

class AssFile;
class AudioBox;
class AudioController;
class AssDialogue;
class AudioKaraoke;
class DialogManager;
template<class T> class SelectionController;
class SubsTextEditCtrl;
class SubtitlesGrid;
class TextSelectionController;
class VideoContext;
class VideoDisplay;
class wxWindow;
namespace Automation4 { class ScriptManager; }
namespace agi {
struct Context {
// Models
AssFile *ass;
Automation4::ScriptManager *local_scripts;
// Controllers
AudioController *audioController;
SelectionController<AssDialogue *> *selectionController;
TextSelectionController *textSelectionController;
VideoContext *videoController;
// 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;
SubtitlesGrid *subsGrid;
VideoDisplay *videoDisplay;
};
}