Menu

[r24]: / trunk / GoogleContactsSync / IConflictResolver.cs  Maximize  Restore  History

Download this file

30 lines (27 with data), 850 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using System;
using System.Collections.Generic;
using System.Text;
using Google.GData.Contacts;
using Google.GData.Client;
using Google.GData.Extensions;
using Outlook = Microsoft.Office.Interop.Outlook;
namespace WebGear.GoogleContactsSync
{
internal interface IConflictResolver
{
/// <summary>
/// Resolves contact sync conflics.
/// </summary>
/// <param name="outlookContact"></param>
/// <param name="googleContact"></param>
/// <returns>Returns true is a conflict was resolved. If cancel was pressed then returns false</returns>
ConflictResolution Resolve(Outlook.ContactItem outlookContact, ContactEntry googleContact);
}
internal enum ConflictResolution
{
Skip,
Cancel,
OutlookWins,
GoogleWins,
}
}
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.