diff options
author | James Crayne <jim.crayne@gmail.com> | 2016-04-28 17:25:01 -0400 |
---|---|---|
committer | James Crayne <jim.crayne@gmail.com> | 2016-04-28 17:25:01 -0400 |
commit | 4ec9cc5e6e1c71184c0537fb2fbd4387f27b3ac2 (patch) | |
tree | 67b144c4d839cd617cb4a9233b78802ad315f63c /KikiD/ClientState.hs | |
parent | e7db95eb413a311dbeddd8bf2474f3710b9258c0 (diff) |
remove kikid, moved to separate repo
Diffstat (limited to 'KikiD/ClientState.hs')
-rw-r--r-- | KikiD/ClientState.hs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/KikiD/ClientState.hs b/KikiD/ClientState.hs deleted file mode 100644 index a80a392..0000000 --- a/KikiD/ClientState.hs +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | module KikiD.ClientState where | ||
2 | |||
3 | import KikiD.Message | ||
4 | import Control.Concurrent.STM.TBMQueue | ||
5 | import Control.Concurrent | ||
6 | |||
7 | data ClientState = CState {cliQueue :: TBMQueue KikiDMessage} | ||
8 | |||
9 | mkClient = CState | ||
10 | { cliQueue = error "ERROR CState: cliQueue parameter is required" | ||
11 | } | ||
12 | |||
13 | type ClientID = ThreadId | ||
14 | threadIdToClient = id | ||