| | 1185 | class ext_mixmonitor extends extension { |
|---|
| | 1186 | var $file; |
|---|
| | 1187 | var $options; |
|---|
| | 1188 | var $postcommand; |
|---|
| | 1189 | |
|---|
| | 1190 | function ext_mixmonitor($file, $options = "", $postcommand = "") { |
|---|
| | 1191 | $this->file = $file; |
|---|
| | 1192 | $this->options = $options; |
|---|
| | 1193 | $this->postcommand = $postcommand; |
|---|
| | 1194 | } |
|---|
| | 1195 | |
|---|
| | 1196 | function output() { |
|---|
| | 1197 | return "MixMonitor(".$this->file.",".$this->options.",".$this->postcommand.")"; |
|---|
| | 1198 | } |
|---|
| | 1199 | } |
|---|
| | 1200 | |
|---|
| | 1201 | class ext_stopmonitor extends extension { |
|---|
| | 1202 | function output() { |
|---|
| | 1203 | return "StopMonitor(".$this->data.")"; |
|---|
| | 1204 | } |
|---|
| | 1205 | } |
|---|
| | 1206 | |
|---|
| | 1207 | |
|---|