Browse Source

State: add explicit export list and group exports by category

Jonathan Daugherty 2 years ago
parent
commit
d2e98e798e
1 changed files with 93 additions and 2 deletions
  1. 93
    2
      src/State.hs

+ 93
- 2
src/State.hs View File

@@ -1,6 +1,97 @@
1 1
 {-# LANGUAGE LambdaCase #-}
2
-
3
-module State where
2
+module State
3
+  (
4
+  -- * Message flagging
5
+    updateMessageFlag
6
+  , flagMessage
7
+
8
+  -- * Running external programs
9
+  , runLoggedCommand
10
+
11
+  -- * Channel sidebar selection
12
+  , prevChannel
13
+  , nextChannel
14
+  , recentChannel
15
+  , nextUnreadChannel
16
+
17
+  -- * Working with channels
18
+  , createOrdinaryChannel
19
+  , startJoinChannel
20
+  , joinChannel
21
+  , changeChannel
22
+  , startLeaveCurrentChannel
23
+  , leaveCurrentChannel
24
+  , beginCurrentChannelDeleteConfirm
25
+  , deleteCurrentChannel
26
+  , loadMoreMessages
27
+  , channelScrollToTop
28
+  , channelScrollToBottom
29
+  , channelScrollUp
30
+  , channelScrollDown
31
+  , channelPageUp
32
+  , channelPageDown
33
+  , isCurrentChannel
34
+  , getNewMessageCutoff
35
+  , setChannelTopic
36
+  , fetchCurrentChannelMembers
37
+  , refreshChannelById
38
+  , handleChannelInvite
39
+
40
+  -- * Channel history
41
+  , channelHistoryForward
42
+  , channelHistoryBackward
43
+
44
+  -- * Working with messages
45
+  , sendMessage
46
+  , msgURLs
47
+  , editMessage
48
+  , deleteMessage
49
+  , addMessageToState
50
+  , postProcessMessageAdd
51
+
52
+  -- * Working with users
53
+  , handleNewUser
54
+  , updateStatus
55
+
56
+  -- * Startup/reconnect management
57
+  , refreshChannelsAndUsers
58
+
59
+  -- * Channel selection mode
60
+  , beginChannelSelect
61
+  , updateChannelSelectMatches
62
+  , channelSelectNext
63
+  , channelSelectPrevious
64
+
65
+  -- * Message selection mode
66
+  , beginMessageSelect
67
+  , flagSelectedMessage
68
+  , copyVerbatimToClipboard
69
+  , openSelectedMessageURLs
70
+  , beginConfirmDeleteSelectedMessage
71
+  , messageSelectUp
72
+  , messageSelectUpBy
73
+  , messageSelectDown
74
+  , messageSelectDownBy
75
+  , deleteSelectedMessage
76
+  , beginReplyCompose
77
+  , beginUpdateMessage
78
+  , getSelectedMessage
79
+  , cancelReplyOrEdit
80
+  , replyToLatestMessage
81
+
82
+  -- * URL selection mode
83
+  , startUrlSelect
84
+  , stopUrlSelect
85
+  , openSelectedURL
86
+
87
+  -- * Help
88
+  , showHelpScreen
89
+
90
+  -- * Themes
91
+  , listThemes
92
+  , setTheme
93
+  )
94
+where
4 95
 
5 96
 import           Prelude ()
6 97
 import           Prelude.Compat

Loading…
Cancel
Save