diff --git a/aegisub/src/base_grid.h b/aegisub/src/base_grid.h index 501b805ba..03dd22bb4 100644 --- a/aegisub/src/base_grid.h +++ b/aegisub/src/base_grid.h @@ -47,6 +47,8 @@ #include #endif +#include "selection_controller.h" + ////////////// // Prototypes @@ -70,7 +72,7 @@ public: /// @brief DOCME /// /// DOCME -class BaseGrid : public wxWindow { +class BaseGrid : public wxWindow, public BaseSelectionController { private: /// DOCME @@ -129,6 +131,15 @@ protected: /// DOCME std::vector selMap; +public: + // SelectionController implementation + virtual void SetActiveLine(AssEntry *new_line) { } + virtual AssEntry * GetActiveLine() const { return 0; } + virtual void SetSelectedSet(const Selection &new_selection) { } + virtual void GetSelectedSet(Selection &selection) const { } + virtual void NextLine() { } + virtual void PrevLine() { } + public: /// DOCME