aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc
diff options
context:
space:
mode:
authorGravatar DINH Viet Hoa <dinh.viet.hoa@gmail.com>2013-02-04 23:23:49 -0800
committerGravatar DINH Viet Hoa <dinh.viet.hoa@gmail.com>2013-02-04 23:23:49 -0800
commitb4f3934c6a4a2c481e13bac29601bc89d81863e3 (patch)
treeb8253215dab8eea85500bcdbe7eba0f8952a4319 /src/objc
parent4fc8001389ee8f81b410f88c1f9a9fae8f4c2168 (diff)
VoIPEnabled property has a getter isVoIPEnabled.
Diffstat (limited to 'src/objc')
-rw-r--r--src/objc/imap/MCOIMAPSession.h2
-rw-r--r--src/objc/imap/MCOIMAPSession.mm2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/objc/imap/MCOIMAPSession.h b/src/objc/imap/MCOIMAPSession.h
index 538becec..88977ded 100644
--- a/src/objc/imap/MCOIMAPSession.h
+++ b/src/objc/imap/MCOIMAPSession.h
@@ -23,7 +23,7 @@
@property (nonatomic, assign) NSTimeInterval timeout;
@property (nonatomic, assign) BOOL checkCertificateEnabled;
-@property (nonatomic, assign) BOOL VoIPEnabled;
+@property (nonatomic, assign, getter=isVoIPEnabled) BOOL VoIPEnabled;
@property (nonatomic, strong) NSString *delimiter;
- (MCOCheckAccountOperation *)checkAccountOperation;
diff --git a/src/objc/imap/MCOIMAPSession.mm b/src/objc/imap/MCOIMAPSession.mm
index 1bffadec..df43455a 100644
--- a/src/objc/imap/MCOIMAPSession.mm
+++ b/src/objc/imap/MCOIMAPSession.mm
@@ -108,7 +108,7 @@ using namespace mailcore;
self.session->setVoIPEnabled(VoIPEnabled);
}
-- (BOOL)VoIPEnabled {
+- (BOOL)isVoIPEnabled {
return (BOOL)self.session->isVoIPEnabled();
}