Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-and-itasks
clean-libraries
Commits
5e2f7b5b
Commit
5e2f7b5b
authored
Apr 11, 2008
by
Rinus Plasmeijer
Browse files
*** empty log message ***
parent
51402551
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
libraries/iTasks/iTasks.dcl
View file @
5e2f7b5b
...
...
@@ -20,8 +20,9 @@ derive write Void, Wid, TCl
// iTask types
::
Task
a
:==
*
TSt
->
*(!
a
,!*
TSt
)
// an iTask is state stransition
::
LabeledTask
a
:==
!(!
String
,!
Task
a
)
// a Task with a label used for labeling buttons, pull down menu, and the like
::
*
TSt
// TSt is abstract task state
::
LabeledTask
a
:==
!(!
TaskLabel
,!
Task
a
)
// a Task with a label used for labeling buttons, pull down menu, and the like
::
TaskLabel
:==
!
String
// label name
::
UserId
:==
!
Int
// a user id of an iTask user must be a unique integer value
// iTask workflow processes types
...
...
@@ -91,11 +92,11 @@ activateWorkflow :: activate the iTask workflow again
*/
spawnWorkflow
::
!
UserId
!
Bool
!(
LabeledTask
a
)
->
Task
(
Wid
a
)
|
iData
a
getWorkflowStatus
::
!(
Wid
a
)
->
Task
WorkflowStatus
waitForWorkflow
::
!(
Wid
a
)
->
Task
a
|
iData
a
deleteWorkflow
::
!(
Wid
a
)
->
Task
Bool
suspendWorkflow
::
!(
Wid
a
)
->
Task
Bool
activateWorkflow
::
!(
Wid
a
)
->
Task
Bool
getWorkflowStatus
::
!(
Wid
a
)
->
Task
WorkflowStatus
suspendWorkflow
::
!(
Wid
a
)
->
Task
Bool
deleteWorkflow
::
!(
Wid
a
)
->
Task
Bool
// *********************************************************************************************************************************
/* Here follow the iTasks combinators:
...
...
libraries/iTasks/iTasks.icl
View file @
5e2f7b5b
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment