X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=Shares%2FmTaskShare.dcl;h=686a372772e7d36d9cd353685c63655981776e91;hb=d99f9bb5fdcf3a58381281b5927a65f82b44b494;hp=2ba97cb6fcc1702e4927d5c9a311cb144ea80f71;hpb=ac7af718140b7b2950c52ae1a45ac16a3a7d0fbc;p=mTask.git diff --git a/Shares/mTaskShare.dcl b/Shares/mTaskShare.dcl index 2ba97cb..686a372 100644 --- a/Shares/mTaskShare.dcl +++ b/Shares/mTaskShare.dcl @@ -9,15 +9,16 @@ derive class iTask MTaskShare derive gPrint BCState :: MTaskShare = - {withTask :: [String] - ,identifier :: Int - ,value :: BCValue + {withTask :: [String] + ,identifier:: Int + ,value :: BCValue + ,humanName :: String } instance == MTaskShare //Constructor -makeShare :: String Int BCValue -> MTaskShare +makeShare :: String String Int BCValue -> MTaskShare //General viewing task manageShares :: Task [MTaskDevice] @@ -33,7 +34,7 @@ cleanSharesTask :: Int MTaskDevice -> Task [MTaskShare] updateShareFromPublish :: MTaskDevice Int BCValue -> Task BCValue //updateShare :: Int BCValue -> Task [MTaskShare] -getRealShare :: MTaskDevice MTaskShare -> Shared BCValue -//getRealShare :: MTaskDevice BCShare -> Shared BCValue +shareShare :: MTaskDevice MTaskShare -> Shared BCValue +//shareShare :: MTaskDevice BCShare -> Shared BCValue //updateShare :: Int BCValue -> Task ()