File: placecapability-1.xml

package info (click to toggle)
tablix2 0.3.5-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 9,920 kB
  • ctags: 3,351
  • sloc: ansic: 24,593; xml: 13,161; sh: 10,409; makefile: 852; perl: 564; yacc: 289; sed: 16
file content (47 lines) | stat: -rw-r--r-- 1,213 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!--
BEGIN TTF BLOCK
(test-ttf
	(or (room "test1" "special1") (room "test1" "special2"))
	(room "test2" "special2")
	(or (room "test3" "special2") (room "test3" "special3"))
)
END TTF BLOCK
-->
<ttm version="0.2.0">
	<modules>
		<module name="placecapability.so" weight="60" mandatory="yes"/> 
	</modules>

	<resources>
		<variable>
			<resourcetype type="room">
				<linear name="#" from="1" to="40"/>
				<resource name="special1">
					<restriction type="capability">A</restriction>
				</resource>
				<resource name="special2">
					<restriction type="capability">A</restriction>
					<restriction type="capability">B</restriction>
				</resource>
				<resource name="special3">
					<restriction type="capability">B</restriction>
				</resource>
			</resourcetype>
		</variable>
	</resources>

	<events>
		<event name="dummy" repeats="10">
		</event>
		<event name="test1" repeats="1">
			<restriction type="capability">A</restriction>
		</event>
		<event name="test2" repeats="1">
			<restriction type="capability">A</restriction>
			<restriction type="capability">B</restriction>
		</event>
		<event name="test3" repeats="1">
			<restriction type="capability">B</restriction>
		</event>
	</events>
</ttm>