Subversion Repositories programming

Rev

Rev 344 | Rev 348 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 344 Rev 346
Line 222... Line 222...
222
 
222
 
223
    Dispatch_Data data;
223
    Dispatch_Data data;
224
    data.type = DISPATCH_DATA_UPDATE_LABEL;
224
    data.type = DISPATCH_DATA_UPDATE_LABEL;
225
    data.elev = this;
225
    data.elev = this;
226
    data.farg = current_floor;
226
    data.farg = current_floor;
-
 
227
    data.direc = direction;
227
 
228
 
228
    controller->push_to_gui_queue (data);
229
    controller->push_to_gui_queue (data);
229
 
230
 
230
    (*dispatcher)();
231
    (*dispatcher)();
231
}
232
}
Line 334... Line 335...
334
 
335
 
335
    Dispatch_Data data;
336
    Dispatch_Data data;
336
    data.type = DISPATCH_DATA_STOP_AT_FLOOR;
337
    data.type = DISPATCH_DATA_STOP_AT_FLOOR;
337
    data.elev = this;
338
    data.elev = this;
338
    data.iarg = the_floor;
339
    data.iarg = the_floor;
-
 
340
    data.direc = in_direction;
339
 
341
 
340
    controller->push_to_gui_queue (data);
342
    controller->push_to_gui_queue (data);
341
 
343
 
342
    (*dispatcher)();
344
    (*dispatcher)();
343
}
345
}