From aa3efd5726cf85d19b2090f93fcfb0633247e5a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Mon, 12 Jan 2015 11:48:19 +0100 Subject: [PATCH] added vendor Google and Yahoo to mailnotification --- .../devicepluginmailnotification.json | 158 ++++++++++-------- 1 file changed, 85 insertions(+), 73 deletions(-) diff --git a/plugins/deviceplugins/mailnotification/devicepluginmailnotification.json b/plugins/deviceplugins/mailnotification/devicepluginmailnotification.json index 1b93ef7f..d725b027 100644 --- a/plugins/deviceplugins/mailnotification/devicepluginmailnotification.json +++ b/plugins/deviceplugins/mailnotification/devicepluginmailnotification.json @@ -6,79 +6,6 @@ "name": "guh", "id": "2062d64d-3232-433c-88bc-0d33c0ba2ba6", "deviceClasses": [ - { - "deviceClassId": "3869884a-1592-4b8f-84a7-994be18ff555", - "idName": "googleMail", - "name": "Google Mail", - "createMethods": ["user"], - "paramTypes": [ - { - "name": "user", - "type": "QString" - }, - { - "name": "password", - "type": "QString" - }, - { - "name": "recipient", - "type": "QString" - } - ], - "actionTypes": [ - { - "id": "054613b0-3666-4dad-9252-e0ebca187edc", - "idName": "sendMail", - "name": "Send mail", - "paramTypes": [ - { - "name": "subject", - "type": "QString" - }, - { - "name": "body", - "type": "QString" - } - ] - } - ] - }, - { - "deviceClassId": "59409e8f-0c83-414f-abd5-bbbf2758acba", - "idName": "yahooMail", - "name": "Yahoo Mail", - "createMethods": ["user"], - "paramTypes": [ - { - "name": "user", - "type": "QString" - }, - { - "name": "password", - "type": "QString" - }, - { - "name": "recipient", - "type": "QString" - } - ], - "actionTypes": [ - { - "id": "054613b0-3666-4dad-9252-e0ebca187edc", - "name": "Send mail", - "paramTypes": [ - { - "name": "subject", - "type": "QString" - }, - { - "name": "body", - "type": "QString" - } - ] - } - ] - }, { "deviceClassId": "f4844c97-7ca6-4349-904e-ff9749a9fe74", "idName": "customMail", @@ -140,6 +67,91 @@ ] } ] + }, + { + "name": "Google", + "id": "d02399c5-8e79-40be-8cf6-e00b55bbfe7c", + "deviceClasses": [ + { + "deviceClassId": "3869884a-1592-4b8f-84a7-994be18ff555", + "idName": "googleMail", + "name": "Google Mail", + "createMethods": ["user"], + "paramTypes": [ + { + "name": "user", + "type": "QString" + }, + { + "name": "password", + "type": "QString" + }, + { + "name": "recipient", + "type": "QString" + } + ], + "actionTypes": [ + { + "id": "054613b0-3666-4dad-9252-e0ebca187edc", + "idName": "sendMail", + "name": "Send mail", + "paramTypes": [ + { + "name": "subject", + "type": "QString" + }, + { + "name": "body", + "type": "QString" + } + ] + } + ] + } + ] + }, + { + "name": "Yahoo", + "id": "5eb3e1e9-25a7-4740-806e-5cfc836e4bf5", + "deviceClasses": [ + { + "deviceClassId": "59409e8f-0c83-414f-abd5-bbbf2758acba", + "idName": "yahooMail", + "name": "Yahoo Mail", + "createMethods": ["user"], + "paramTypes": [ + { + "name": "user", + "type": "QString" + }, + { + "name": "password", + "type": "QString" + }, + { + "name": "recipient", + "type": "QString" + } + ], + "actionTypes": [ + { + "id": "054613b0-3666-4dad-9252-e0ebca187edc", + "name": "Send mail", + "paramTypes": [ + { + "name": "subject", + "type": "QString" + }, + { + "name": "body", + "type": "QString" + } + ] + } + ] + } + ] } ] }