00001 #ifndef BHAND_MOTORS_H
00002 #define BHAND_MOTORS_H
00003
00004
00005 typedef int BHMotors;
00006
00007
00008 bool Contains(const char *str, const char ch);
00009 bool ContainsAllFingers(const char *motor);
00010 bool ContainsAnyFingers(const char *motor);
00011 bool ContainsSpread(const char *motor);
00012 bool ContainsMotor(const char *motorString, const char motorChar);
00013
00014 void toMotorChar(BHMotors bhMotors, char *chMotors);
00015 BHMotors toBHMotors(const char *motors);
00016
00017 unsigned int countMotors(BHMotors bhMotors);
00018
00019 #endif