Move LoginView to own struct

This commit is contained in:
Tulir Asokan
2018-03-22 23:03:45 +02:00
parent b93dea2e1c
commit 497ae566c0
3 changed files with 51 additions and 17 deletions

View File

@ -36,6 +36,7 @@ type GomuksUI interface {
SetView(name View)
InitViews() tview.Primitive
MainView() MainView
LoginView() LoginView
}
type MainView interface {
@ -51,3 +52,7 @@ type MainView interface {
ProcessMessageEvent(evt *gomatrix.Event) (*widget.RoomView, *types.Message)
ProcessMembershipEvent(evt *gomatrix.Event, new bool) (*widget.RoomView, *types.Message)
}
type LoginView interface {
}