Loading mail/protocols/imap/src/main/java/com/fsck/k9/mail/store/imap/ImapSettings.javadeleted 100644 → 0 +0 −36 Original line number Diff line number Diff line package com.fsck.k9.mail.store.imap; import com.fsck.k9.mail.AuthType; import com.fsck.k9.mail.ConnectionSecurity; /** * Settings source for IMAP. Implemented in order to remove coupling between {@link ImapStore} and {@link ImapConnection}. */ interface ImapSettings { String getHost(); int getPort(); ConnectionSecurity getConnectionSecurity(); AuthType getAuthType(); String getUsername(); String getPassword(); String getClientCertificateAlias(); boolean useCompression(); String getPathPrefix(); void setPathPrefix(String prefix); String getPathDelimiter(); void setPathDelimiter(String delimiter); void setCombinedPrefix(String prefix); } mail/protocols/imap/src/main/java/com/fsck/k9/mail/store/imap/ImapSettings.kt 0 → 100644 +22 −0 Original line number Diff line number Diff line package com.fsck.k9.mail.store.imap import com.fsck.k9.mail.AuthType import com.fsck.k9.mail.ConnectionSecurity /** * Settings source for IMAP. Implemented in order to remove coupling between [ImapStore] and [ImapConnection]. */ internal interface ImapSettings { val host: String val port: Int val connectionSecurity: ConnectionSecurity val authType: AuthType val username: String val password: String? val clientCertificateAlias: String? fun useCompression(): Boolean var pathPrefix: String? var pathDelimiter: String? fun setCombinedPrefix(prefix: String?) } Loading
mail/protocols/imap/src/main/java/com/fsck/k9/mail/store/imap/ImapSettings.javadeleted 100644 → 0 +0 −36 Original line number Diff line number Diff line package com.fsck.k9.mail.store.imap; import com.fsck.k9.mail.AuthType; import com.fsck.k9.mail.ConnectionSecurity; /** * Settings source for IMAP. Implemented in order to remove coupling between {@link ImapStore} and {@link ImapConnection}. */ interface ImapSettings { String getHost(); int getPort(); ConnectionSecurity getConnectionSecurity(); AuthType getAuthType(); String getUsername(); String getPassword(); String getClientCertificateAlias(); boolean useCompression(); String getPathPrefix(); void setPathPrefix(String prefix); String getPathDelimiter(); void setPathDelimiter(String delimiter); void setCombinedPrefix(String prefix); }
mail/protocols/imap/src/main/java/com/fsck/k9/mail/store/imap/ImapSettings.kt 0 → 100644 +22 −0 Original line number Diff line number Diff line package com.fsck.k9.mail.store.imap import com.fsck.k9.mail.AuthType import com.fsck.k9.mail.ConnectionSecurity /** * Settings source for IMAP. Implemented in order to remove coupling between [ImapStore] and [ImapConnection]. */ internal interface ImapSettings { val host: String val port: Int val connectionSecurity: ConnectionSecurity val authType: AuthType val username: String val password: String? val clientCertificateAlias: String? fun useCompression(): Boolean var pathPrefix: String? var pathDelimiter: String? fun setCombinedPrefix(prefix: String?) }