repositories
/
mTask.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
separate share publishing from share class
[mTask.git]
/
Shares
/
mTaskShare.dcl
diff --git
a/Shares/mTaskShare.dcl
b/Shares/mTaskShare.dcl
index
c505362
..
57855c1
100644
(file)
--- a/
Shares/mTaskShare.dcl
+++ b/
Shares/mTaskShare.dcl
@@
-13,6
+13,8
@@
derive class iTask MTaskShare
,value :: BCValue
}
,value :: BCValue
}
+instance == MTaskShare
+
//Constructor
makeShare :: String Int BCValue -> MTaskShare
//Constructor
makeShare :: String Int BCValue -> MTaskShare
@@
-27,9
+29,10
@@
cleanSharesTask :: Int MTaskDevice -> Task [MTaskShare]
//cleanSharesTask :: Int MTaskDevice -> Task [MTaskShare]
//Clean out shares when a device has been removed
//cleanSharesTask :: Int MTaskDevice -> Task [MTaskShare]
//Clean out shares when a device has been removed
-updateShare
:: MTaskDevice Int BCValue -> Task [MTaskShare]
+updateShare
FromPublish :: MTaskDevice Int BCValue -> Task BCValue
//updateShare :: Int BCValue -> Task [MTaskShare]
//updateShare :: Int BCValue -> Task [MTaskShare]
-getRealShare :: MTaskDevice BCShare -> Shared BCValue
+getRealShare :: MTaskDevice MTaskShare -> Shared BCValue
+//getRealShare :: MTaskDevice BCShare -> Shared BCValue
//updateShare :: Int BCValue -> Task ()
//updateShare :: Int BCValue -> Task ()