-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
86 changed files
with
5,775 additions
and
2,221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,3 +52,9 @@ bin | |
obj | ||
|
||
licencekey\.txt | ||
|
||
Documentation/html/ | ||
|
||
Documentation/latex/ | ||
|
||
*.gz |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,31 @@ | ||
using System; | ||
using SuiteCRMAddIn.ProtoItems; | ||
using Outlook = Microsoft.Office.Interop.Outlook; | ||
|
||
/** | ||
* Outlook integration for SuiteCRM. | ||
* @package Outlook integration for SuiteCRM | ||
* @copyright SalesAgility Ltd http://www.salesagility.com | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU LESSER GENERAL PUBLIC LICENCE as published by | ||
* the Free Software Foundation; either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENCE | ||
* along with this program; if not, see http://www.gnu.org/licenses | ||
* or write to the Free Software Foundation,Inc., 51 Franklin Street, | ||
* Fifth Floor, Boston, MA 02110-1301 USA | ||
* | ||
* @author SalesAgility <[email protected]> | ||
*/ | ||
namespace SuiteCRMAddIn.BusinessLogic | ||
{ | ||
using System; | ||
using SuiteCRMAddIn.ProtoItems; | ||
using Outlook = Microsoft.Office.Interop.Outlook; | ||
|
||
public class AppointmentSyncState: SyncState<Outlook.AppointmentItem> | ||
{ | ||
public AppointmentSyncState(string crmType) | ||
|
@@ -24,6 +46,9 @@ public override void DeleteItem() | |
this.OutlookItem.Delete(); | ||
} | ||
|
||
/// <summary> | ||
/// Construct a JSON-serialisable representation of my appointment item. | ||
/// </summary> | ||
internal override ProtoItem<Outlook.AppointmentItem> CreateProtoItem(Outlook.AppointmentItem outlookItem) | ||
{ | ||
return new ProtoAppointment(outlookItem); | ||
|
Oops, something went wrong.