Sensos Module Updated
Fork of Middleware by
StringManager.h
- Committer:
- RoHe
- Date:
- 2015-12-09
- Revision:
- 1:fd355dc296b1
- Parent:
- 0:d1ff330c5128
File content as of revision 1:fd355dc296b1:
/* StringManager.h Only to improve the clarity of main .cpp This don't have any new classes This import is use to manage the strings Last update by RoHe 16/11/2015 */ #include <string.h> #include "Sensors.h" // se movieron las declaraciones de las variables //por que decia que se encontraban definidas mas de una vez #include "Initial.h" #ifndef STRINGMANAGER_H_ #define STRINGMANAGER_H_ class StringManager { public: StringManager(); bool is_good(void); int getVar(void); char* echo(void); char* processString(char* cadena, char* ipClient); int stringLenght(char* cadena); char initialString[100]; private: int varInt; char* stringMakerGetLight(char* ipClient); char* stringMakerGetDoor(char* ipClient); char* stringMakerGetPresence(char* ipClient); char* stringMakerGetPeople(char* ipClient); char* stringMakerGetWindow1(char* ipClient); char* stringMakerGetWindow2(char* ipClient); char* stringMakerGetWindow3(char* ipClient); char* stringMakerGetRoom(char* ipClient); }; #endif