The plugins shouldn't be in charge of running the valid_sentence_command. They also certainly shouldn't have to manage the history file. Both of these functions have been delegated to the Kaylee object, by way of a 'processed' signal emitted by a plugin as soon as it knows it will handle the voice command.
|
||
5 | 5 |
|
6 | 6 |
|
7 | 7 |
|
8 |
|
|
8 | 9 |
|
9 | 10 |
|
10 | 11 |
|
|
||
25 | 26 |
|
26 | 27 |
|
27 | 28 |
|
28 |
|
|
29 | 29 |
|
30 | 30 |
|
31 | 31 |
|
32 | 32 |
|
33 | 33 |
|
34 |
|
|
34 |
|
|
35 | 35 |
|
36 | 36 |
|
37 | 37 |
|
|
||
72 | 72 |
|
73 | 73 |
|
74 | 74 |
|
75 |
|
|
75 | 76 |
|
76 | 77 |
|
77 | 78 |
|
|
||
105 | 106 |
|
106 | 107 |
|
107 | 108 |
|
108 |
|
|
109 |
|
|
110 |
|
|
111 |
|
|
112 |
|
|
113 |
|
|
114 |
|
|
115 |
|
|
116 |
|
|
117 |
|
|
118 |
|
|
119 |
|
|
109 | 120 |
|
110 |
|
|
121 |
|
|
111 | 122 |
|
112 | 123 |
|
113 | 124 |
|
|
||
117 | 128 |
|
118 | 129 |
|
119 | 130 |
|
120 |
|
|
121 |
|
|
122 |
|
|
123 | 131 |
|
124 | 132 |
|
125 | 133 |
|
|
||
5 | 5 |
|
6 | 6 |
|
7 | 7 |
|
8 |
|
|
9 |
|
|
8 | 10 |
|
9 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
10 | 17 |
|
11 | 18 |
|
12 | 19 |
|
13 | 20 |
|
14 | 21 |
|
15 | 22 |
|
16 |
|
|
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
17 | 29 |
|
18 | 30 |
|
19 | 31 |
|
|
||
21 | 33 |
|
22 | 34 |
|
23 | 35 |
|
36 |
|
|
24 | 37 |
|
38 |
|
|
25 | 39 |
|
26 | 40 |
|
27 | 41 |
|
|
||
29 | 43 |
|
30 | 44 |
|
31 | 45 |
|
32 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
33 | 49 |
|
34 | 50 |
|
|
||
11 | 11 |
|
12 | 12 |
|
13 | 13 |
|
14 |
|
|
15 |
|
|
14 |
|
|
15 |
|
|
16 | 16 |
|
17 | 17 |
|
18 |
|
|
18 |
|
|
19 | 19 |
|
20 | 20 |
|
21 | 21 |
|
|
||
34 | 34 |
|
35 | 35 |
|
36 | 36 |
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
37 |
|
|
42 | 38 |
|
43 | 39 |
|
44 |
|
|
45 |
|
|
46 | 40 |
|
47 | 41 |
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
42 |
|
|
52 | 43 |
|
53 | 44 |
|
54 | 45 |
|
55 |
|
|
56 | 46 |
|
57 | 47 |
|
58 | 48 |
|