Subversion Repositories programming

Rev

Rev 344 | Rev 348 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
344 ira 1
#ifndef DISPATCH_DATA_H
2
#define DISPATCH_DATA_H
3
 
4
const int DISPATCH_DATA_ELEVATOR_OPEN     = 1;
5
const int DISPATCH_DATA_ELEVATOR_CLOSE    = 2;
6
const int DISPATCH_DATA_UNSET_UP_BUTTON   = 3;
7
const int DISPATCH_DATA_UNSET_DOWN_BUTTON = 4;
8
const int DISPATCH_DATA_SET_LABEL         = 5;
9
const int DISPATCH_DATA_STOP_AT_FLOOR     = 6;
10
const int DISPATCH_DATA_UPDATE_LABEL      = 7;
11
 
12
#include "elevator.h"
13
 
14
class Elevator;
15
 
16
typedef struct
17
{
18
    int type;
19
    int iarg;
20
    float farg;
21
    Elevator *elev;
346 ira 22
    int direc;
344 ira 23
}
24
Dispatch_Data;
25
 
26
#endif
27