Webserver for peach-board
RPCType.h@1:f1f734dd23ee, 2015-03-12 (annotated)
- Committer:
- thudt90
- Date:
- Thu Mar 12 08:26:27 2015 +0000
- Revision:
- 1:f1f734dd23ee
- Parent:
- 0:6ec14f880a00
Just test
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
thudt90 | 0:6ec14f880a00 | 1 | #ifndef RPCTYPE_H |
thudt90 | 0:6ec14f880a00 | 2 | #define RPCTYPE_H |
thudt90 | 0:6ec14f880a00 | 3 | |
thudt90 | 0:6ec14f880a00 | 4 | #include <list> |
thudt90 | 0:6ec14f880a00 | 5 | |
thudt90 | 0:6ec14f880a00 | 6 | class RPCType |
thudt90 | 0:6ec14f880a00 | 7 | { |
thudt90 | 0:6ec14f880a00 | 8 | public : |
thudt90 | 0:6ec14f880a00 | 9 | |
thudt90 | 0:6ec14f880a00 | 10 | static RPCType& instance(); |
thudt90 | 0:6ec14f880a00 | 11 | |
thudt90 | 0:6ec14f880a00 | 12 | void register_types(); |
thudt90 | 0:6ec14f880a00 | 13 | |
thudt90 | 0:6ec14f880a00 | 14 | bool is_supported_type(char *type); |
thudt90 | 0:6ec14f880a00 | 15 | |
thudt90 | 0:6ec14f880a00 | 16 | private : |
thudt90 | 0:6ec14f880a00 | 17 | |
thudt90 | 0:6ec14f880a00 | 18 | RPCType(); |
thudt90 | 0:6ec14f880a00 | 19 | std::list<char*> supported_types; |
thudt90 | 0:6ec14f880a00 | 20 | }; |
thudt90 | 0:6ec14f880a00 | 21 | |
thudt90 | 0:6ec14f880a00 | 22 | #endif |
thudt90 | 0:6ec14f880a00 | 23 |