root / trunk / code / projects / colonet / ColonetClient / includes / Commands.h @ 13
History | View | Annotate | Download (414 Bytes)
1 |
/**
|
---|---|
2 |
*
|
3 |
* @author Jason Knichel
|
4 |
*
|
5 |
* 3/22/07
|
6 |
*/
|
7 |
|
8 |
#ifndef COMMANDS_H
|
9 |
#define COMMANDS_H
|
10 |
|
11 |
#include "command_defines.h" |
12 |
#include "Server.h" |
13 |
#include "Buzzer.h" |
14 |
#include "Lcd.h" |
15 |
|
16 |
class Commands |
17 |
{ |
18 |
public:
|
19 |
void printUsage();
|
20 |
int parseCommand(char * command, Server colonetServer); |
21 |
|
22 |
private:
|
23 |
Buzzer buzzer; |
24 |
Lcd lcd; |
25 |
}; |
26 |
|
27 |
int tokenizeCommand(char * command, char tokens[MAX_TOKENS][MAX_TOKEN_SIZE]); |
28 |
|
29 |
|
30 |
#endif
|