bool FlipFlat::ISNewText(const char *dev, const char *name, char *texts[], char *names[], int n) { if (dev != nullptr && strcmp(dev, getDeviceName()) == 0) { if (processLightBoxText(dev, name, texts, names, n)) return true; } return INDI::DefaultDevice::ISNewText(dev, name, texts, names, n); }
bool FlipFlat::ISNewText (const char *dev, const char *name, char *texts[], char *names[], int n) { if(strcmp(dev,getDeviceName())==0) { if (processLightBoxText(dev, name, texts, names, n)) return true; if (!strcmp(PortTP.name, name)) { IUUpdateText(&PortTP, texts, names, n); PortTP.s = IPS_OK; IDSetText(&PortTP, NULL); return true; } } return INDI::DefaultDevice::ISNewText(dev, name, texts, names, n); }