fork of SalesforceCaseGenerator customized for support personnel database changes
Fork of SalesforceCaseGenerator by
SalesForceCaseGenerator.h
00001 /* Copyright C2014 ARM, MIT License 00002 * 00003 * Author: Doug Anson (doug.anson@arm.com) 00004 * 00005 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software 00006 * and associated documentation files the "Software", to deal in the Software without restriction, 00007 * including without limitation the rights to use, copy, modify, merge, publish, distribute, 00008 * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is 00009 * furnished to do so, subject to the following conditions: 00010 * 00011 * The above copyright notice and this permission notice shall be included in all copies or 00012 * substantial portions of the Software. 00013 * 00014 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING 00015 * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 00016 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 00017 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 00018 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 00019 */ 00020 00021 #ifndef _SALESFORCE_CASE_GENERATOR_H_ 00022 #define _SALESFORCE_CASE_GENERATOR_H_ 00023 00024 #include "SalesforceInterface.h" 00025 00026 class SalesForceCaseGenerator : public SalesforceInterface { 00027 public: 00028 SalesForceCaseGenerator(HTTPClient *http,Logger *logger); 00029 virtual ~SalesForceCaseGenerator(); 00030 00031 // Create an anonymous Case instance 00032 bool createAnonymousCase(char *technician, char *description, char *status, int temperature, char *latitude, char *longitude); 00033 }; 00034 00035 #endif // _SALESFORCE_CASE_GENERATOR_H_
Generated on Sat Jul 16 2022 22:39:58 by
1.7.2
