(msg *Message)
| 1135 | } |
| 1136 | |
| 1137 | func (project *Project) SendMessage(msg *Message) { |
| 1138 | |
| 1139 | if msg.Type == "" { |
| 1140 | panic("ERROR: Message has no type.") |
| 1141 | } |
| 1142 | |
| 1143 | for _, page := range project.Pages { |
| 1144 | page.SendMessage(msg) |
| 1145 | } |
| 1146 | |
| 1147 | } |
| 1148 | |
| 1149 | func (project *Project) GlobalShortcuts() { |
| 1150 |
no outgoing calls
no test coverage detected