~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/maccore/src/AddressBook/ABSource.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
        public enum ABSourceType {      
40
40
                Local           = 0x0,
41
41
                Exchange        = 0x1,
42
 
                ExchangeGAL     = Exchange | ABSource.SearchableMask,
 
42
                ExchangeGAL     = Exchange | SearchableMask,
43
43
                MobileMe        = 0x2,
44
 
                LDAP            = 0x3 | ABSource.SearchableMask,
 
44
                LDAP            = 0x3 | SearchableMask,
45
45
                CardDAV         = 0x4,
46
 
                DAVSearch       = CardDAV | ABSource.SearchableMask,
 
46
                DAVSearch       = CardDAV | SearchableMask,
 
47
 
 
48
                SearchableMask = 0x01000000
47
49
        };      
48
50
        
49
51
        public class ABSource : ABRecord {
50
 
                
 
52
                [Advice ("Use ABSourceType.SearchableMask")]
51
53
                public const int SearchableMask = 0x01000000;
 
54
 
 
55
                internal ABSource (IntPtr handle, bool owns)
 
56
                        : base (handle, owns)
 
57
                {
 
58
                }
52
59
                
53
60
                internal ABSource (IntPtr handle, ABAddressBook addressbook)
54
 
                        : base (CFObject.CFRetain (handle), addressbook)
 
61
                        : base (handle, false)
55
62
                {
 
63
                        AddressBook = addressbook;
56
64
                }
57
65
                
58
66
                public string Name {
117
125
                        throw new NotSupportedException ("Invalid ABSourcePropertyId value: " + id);
118
126
                }
119
127
        }
120
 
}
 
 
b'\\ No newline at end of file'
 
128
}