aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/smtp
diff options
context:
space:
mode:
authorGravatar CodaFi <devteam.codafi@gmail.com>2013-12-08 13:28:59 -0700
committerGravatar CodaFi <devteam.codafi@gmail.com>2013-12-08 13:28:59 -0700
commit87f3cb5765f961d7a7fec734dd890ff913b46393 (patch)
treed872306d4ed374c00101d2319fdf31ccf058cbbb /src/core/smtp
parentf3eb11eec145a5db4e76bca53b6f6b05566e674e (diff)
Unify Project Style
Diffstat (limited to 'src/core/smtp')
-rw-r--r--src/core/smtp/MCSMTPProgressCallback.h15
-rw-r--r--src/core/smtp/MCSMTPSession.h16
2 files changed, 16 insertions, 15 deletions
diff --git a/src/core/smtp/MCSMTPProgressCallback.h b/src/core/smtp/MCSMTPProgressCallback.h
index d1c85e41..dd1b6ec5 100644
--- a/src/core/smtp/MCSMTPProgressCallback.h
+++ b/src/core/smtp/MCSMTPProgressCallback.h
@@ -5,13 +5,14 @@
#ifdef __cplusplus
namespace mailcore {
-
- class SMTPSession;
-
- class SMTPProgressCallback {
- public:
- virtual void bodyProgress(SMTPSession * session, unsigned int current, unsigned int maximum) {};
- };
+
+ class SMTPSession;
+
+ class SMTPProgressCallback {
+ public:
+ virtual void bodyProgress(SMTPSession * session, unsigned int current, unsigned int maximum) {};
+ };
+
}
#endif
diff --git a/src/core/smtp/MCSMTPSession.h b/src/core/smtp/MCSMTPSession.h
index 04153c7a..f5396ebb 100644
--- a/src/core/smtp/MCSMTPSession.h
+++ b/src/core/smtp/MCSMTPSession.h
@@ -12,7 +12,7 @@ namespace mailcore {
class Address;
class SMTPProgressCallback;
class MessageBuilder;
-
+
class SMTPSession : public Object {
public:
SMTPSession();
@@ -20,27 +20,27 @@ namespace mailcore {
virtual void setHostname(String * hostname);
virtual String * hostname();
-
+
virtual void setPort(unsigned int port);
virtual unsigned int port();
-
+
virtual void setUsername(String * username);
virtual String * username();
-
+
virtual void setPassword(String * password);
virtual String * password();
-
+
// To authenticate using OAuth2, username and oauth2token should be set.
// auth type to use is AuthTypeOAuth2.
virtual void setOAuth2Token(String * token);
virtual String * OAuth2Token();
-
+
virtual void setAuthType(AuthType authType);
virtual AuthType authType();
-
+
virtual void setConnectionType(ConnectionType connectionType);
virtual ConnectionType connectionType();
-
+
virtual void setTimeout(time_t timeout);
virtual time_t timeout();