summaryrefslogtreecommitdiff
path: root/Assistant/Types/RemoteControl.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Assistant/Types/RemoteControl.hs')
-rw-r--r--Assistant/Types/RemoteControl.hs16
1 files changed, 16 insertions, 0 deletions
diff --git a/Assistant/Types/RemoteControl.hs b/Assistant/Types/RemoteControl.hs
new file mode 100644
index 000000000..523cd8b8d
--- /dev/null
+++ b/Assistant/Types/RemoteControl.hs
@@ -0,0 +1,16 @@
+{- git-annex assistant RemoteDaemon control
+ -
+ - Copyright 2014 Joey Hess <joey@kitenet.net>
+ -
+ - Licensed under the GNU GPL version 3 or higher.
+ -}
+
+module Assistant.Types.RemoteControl where
+
+import qualified RemoteDaemon.Types as RemoteDaemon
+import Control.Concurrent
+
+type RemoteControl = Chan RemoteDaemon.Consumed
+
+newRemoteControl :: IO RemoteControl
+newRemoteControl = newChan