mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
драйвер Telegramm - tlgrmItem
This commit is contained in:
@@ -110,8 +110,13 @@ class Telegram : public IoTItem {
|
||||
}
|
||||
}
|
||||
|
||||
~Telegram() {
|
||||
IoTItem *getTlgrmDriver()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
|
||||
~Telegram() {
|
||||
tlgrmItem = nullptr;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -58,7 +58,14 @@ class TelegramLT : public IoTItem {
|
||||
return {};
|
||||
}
|
||||
|
||||
~TelegramLT(){};
|
||||
IoTItem *getTlgrmDriver()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
|
||||
~TelegramLT() {
|
||||
tlgrmItem = nullptr;
|
||||
};
|
||||
};
|
||||
|
||||
void *getAPI_TelegramLT(String subtype, String param) {
|
||||
|
||||
Reference in New Issue
Block a user