1 -- This file is part of Intricacy
2 -- Copyright (C) 2013 Martin Bays <mbays@sdf.org>
4 -- This program is free software: you can redistribute it and/or modify
5 -- it under the terms of version 3 of the GNU General Public License as
6 -- published by the Free Software Foundation, or any later version.
8 -- You should have received a copy of the GNU General Public License
9 -- along with this program. If not, see http://www.gnu.org/licenses/.
13 {-# LANGUAGE ForeignFunctionInterface #-}
18 import qualified SDLUI
(UIM
)
19 import SDLUIMInstance
()
23 import qualified CursesUI
(UIM
)
24 import CursesUIMInstance
()
31 foreign export ccall hs_MAIN
:: IO ()
39 (Just
(doUI
::SDLUI
.UIM MainState
-> IO (Maybe MainState
)))
41 (Nothing
:: (Maybe (CursesUI
.UIM MainState
-> IO (Maybe MainState
))))
45 (Just
(doUI
::CursesUI
.UIM MainState
-> IO (Maybe MainState
)))
47 (Nothing
:: (Maybe (SDLUI
.UIM MainState
-> IO (Maybe MainState
))))