Salesforce Case Generator for mbed

Committer:
ansond
Date:
Fri Sep 26 04:34:41 2014 +0000
Revision:
13:1e06a3a4740d
Parent:
12:8603f9ff1336
revamped to use new salesforce interface

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ansond 0:5953127f7c19 1 /* Copyright C2014 ARM, MIT License
ansond 0:5953127f7c19 2 *
ansond 13:1e06a3a4740d 3 * Author: Doug Anson (doug.anson@arm.com)
ansond 13:1e06a3a4740d 4 *
ansond 0:5953127f7c19 5 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software
ansond 0:5953127f7c19 6 * and associated documentation files the "Software", to deal in the Software without restriction,
ansond 0:5953127f7c19 7 * including without limitation the rights to use, copy, modify, merge, publish, distribute,
ansond 0:5953127f7c19 8 * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
ansond 0:5953127f7c19 9 * furnished to do so, subject to the following conditions:
ansond 0:5953127f7c19 10 *
ansond 0:5953127f7c19 11 * The above copyright notice and this permission notice shall be included in all copies or
ansond 0:5953127f7c19 12 * substantial portions of the Software.
ansond 0:5953127f7c19 13 *
ansond 0:5953127f7c19 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
ansond 0:5953127f7c19 15 * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
ansond 0:5953127f7c19 16 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
ansond 0:5953127f7c19 17 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
ansond 0:5953127f7c19 18 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
ansond 0:5953127f7c19 19 */
ansond 0:5953127f7c19 20
ansond 0:5953127f7c19 21 #ifndef _SALESFORCE_CASE_GENERATOR_H_
ansond 0:5953127f7c19 22 #define _SALESFORCE_CASE_GENERATOR_H_
ansond 0:5953127f7c19 23
ansond 13:1e06a3a4740d 24 #include "SalesforceInterface.h"
ansond 0:5953127f7c19 25
ansond 13:1e06a3a4740d 26 class SalesForceCaseGenerator : public SalesforceInterface {
ansond 0:5953127f7c19 27 public:
ansond 13:1e06a3a4740d 28 SalesForceCaseGenerator(HTTPClient *http,Logger *logger);
ansond 0:5953127f7c19 29 virtual ~SalesForceCaseGenerator();
ansond 0:5953127f7c19 30
ansond 13:1e06a3a4740d 31 // Create an anonymous Case instance
ansond 13:1e06a3a4740d 32 bool createAnonymousCase(char *subject, char *description, char *condition, int temperature, char *latitude, char *longitude);
ansond 0:5953127f7c19 33 };
ansond 0:5953127f7c19 34
ansond 0:5953127f7c19 35 #endif // _SALESFORCE_CASE_GENERATOR_H_