diff options
author | Jan Darmochwal | 2010-10-04 17:19:12 +0200 |
---|---|---|
committer | Jan Darmochwal | 2010-10-04 17:19:12 +0200 |
commit | 287ff7a1d6ace859b001a0d4f5cfad1913416416 (patch) | |
tree | 82f7695f4fcd842e3eb00a5b59d37a938ffa75a1 /src/dialog.h | |
parent | TreeView for sessions (replaces ListView) (diff) | |
download | vmchooser-287ff7a1d6ace859b001a0d4f5cfad1913416416.tar.gz vmchooser-287ff7a1d6ace859b001a0d4f5cfad1913416416.tar.xz vmchooser-287ff7a1d6ace859b001a0d4f5cfad1913416416.zip |
Allow sessions to be active for a given date range
.xml files for Virtual Sessions may have an "active"-element
this patch allows a date range to be given as a parameter for that element
<active param="[YYYY-MM-DD]/[YYYY-MM-DD]"/>
examples:
* <active param="1970-01-01/1971-01-01">
active from Jan 1st 1970 till Jan 1st 1971
* <active param="/1971-01-01">
active till Jan 1st 1971
* <active param="1970-01-01/">
active from Jan 1st 1970 onwards
notes:
* invalid dates are treated like empty dates (eg. "1984-01-01/1984-02-30" is equal to "1984-01-01/")
* active defaults to "true" for all values except "false" and past or future date ranges
* an inactive session will not be displayed by vmchooser, this does not prevent the user from manually starting the corrensponding virtual machine image
Diffstat (limited to 'src/dialog.h')
0 files changed, 0 insertions, 0 deletions