#include #include "strings.hpp" namespace cx_light { const char* strings::all_texts[] = { "cx-light", "Your lights", "Add light", "Welcome in cx-light!\n\n\ Select light from list on the left, or create it, if it not already \ exists in Your system. Remember to use same network, Your computer \ must could ping Your light!\n" }; const char* strings::get(unsigned int target) { size_t list_size = sizeof(strings::all_texts) / sizeof(char *); target = target % list_size; return strings::all_texts[target]; } }