1 definition module Shares.mTaskShare
4 import iTasks._Framework.Serialization
6 import Devices.mTaskDevice
8 derive class iTask MTaskShare
12 ,withDevice :: [String]
17 makeShare :: String String Int BCValue -> MTaskShare
19 //General viewing task
20 manageShares :: [MTaskShare] -> Task MTaskShare
22 //Clean out shares when a task has been removed
23 cleanSharesTask :: Int MTaskDevice -> Task [MTaskShare]
24 //Clean out shares when a device has been removed
25 cleanSharesDevice :: String -> Task [MTaskShare]
27 updateShare :: Int BCValue -> Task [MTaskShare]
28 //updateShare :: Int BCValue -> Task ()