diff options
author | 2013-01-21 15:06:46 -0800 | |
---|---|---|
committer | 2013-01-21 15:06:46 -0800 | |
commit | 119b654d35db873bb7dbc77e24649462eb1aa4e6 (patch) | |
tree | ae42d35a781f94d8fe6994963230b095a1b2340a /src/async/smtp/MCSMTPAsyncSession.h | |
parent | d998016c04cb1e1dfc9fcf608639bfb5a4147439 (diff) |
headers show public API first. cleanup.
Diffstat (limited to 'src/async/smtp/MCSMTPAsyncSession.h')
-rw-r--r-- | src/async/smtp/MCSMTPAsyncSession.h | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/src/async/smtp/MCSMTPAsyncSession.h b/src/async/smtp/MCSMTPAsyncSession.h index 40b1cfbb..3159809b 100644 --- a/src/async/smtp/MCSMTPAsyncSession.h +++ b/src/async/smtp/MCSMTPAsyncSession.h @@ -6,6 +6,8 @@ #include <mailcore/MCMessageConstants.h> #include <libetpan/libetpan.h> +#ifdef __cplusplus + namespace mailcore { class MessageBuilder; @@ -14,12 +16,6 @@ namespace mailcore { class Address; class SMTPAsyncSession : public Object { - private: - SMTPSession * mSession; - OperationQueue * mQueue; - - void queue(SMTPOperation * op); - public: SMTPAsyncSession(); virtual ~SMTPAsyncSession(); @@ -54,11 +50,20 @@ namespace mailcore { virtual SMTPOperation * sendMessageOperation(Data * messageData); virtual SMTPOperation * checkAccountOperation(Address * from); - // private + public: // private virtual void runOperation(SMTPOperation * operation); virtual SMTPSession * session(); + + private: + SMTPSession * mSession; + OperationQueue * mQueue; + + void queue(SMTPOperation * op); + }; } #endif + +#endif |