diff options
author | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2014-01-21 20:56:53 -0800 |
---|---|---|
committer | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2014-01-21 20:57:27 -0800 |
commit | d6899960904a0713b193855d4f1b81afc3473097 (patch) | |
tree | 16ae7d24706d3d6dcbc6a866c883dda897a2eb34 /src/objc/imap/MCOIMAPSession.mm | |
parent | 606b4da3e35efa6633b0c02bc7f77e3b3789c8ab (diff) |
Retrieve Gmail user display name
Diffstat (limited to 'src/objc/imap/MCOIMAPSession.mm')
-rwxr-xr-x | src/objc/imap/MCOIMAPSession.mm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/objc/imap/MCOIMAPSession.mm b/src/objc/imap/MCOIMAPSession.mm index 6e788a36..762e594a 100755 --- a/src/objc/imap/MCOIMAPSession.mm +++ b/src/objc/imap/MCOIMAPSession.mm @@ -127,6 +127,11 @@ MCO_OBJC_SYNTHESIZE_SCALAR(dispatch_queue_t, dispatch_queue_t, setDispatchQueue, return MCO_OBJC_BRIDGE_GET(serverIdentity); } +- (NSString *) gmailUserDisplayName +{ + return MCO_TO_OBJC(_session->gmailUserDisplayName()); +} + - (void) setConnectionLogger:(MCOConnectionLogger)connectionLogger { [_connectionLogger release]; |