| 97 | } |
| 98 | |
| 99 | IMAPAsyncConnection::IMAPAsyncConnection() |
| 100 | { |
| 101 | mSession = new IMAPSession(); |
| 102 | mQueue = new OperationQueue(); |
| 103 | mDefaultNamespace = NULL; |
| 104 | mClientIdentity = new IMAPIdentity(); |
| 105 | mLastFolder = NULL; |
| 106 | mQueueCallback = new IMAPOperationQueueCallback(this); |
| 107 | mQueue->setCallback(mQueueCallback); |
| 108 | mOwner = NULL; |
| 109 | mConnectionLogger = NULL; |
| 110 | pthread_mutex_init(&mConnectionLoggerLock, NULL); |
| 111 | mInternalLogger = new IMAPConnectionLogger(this); |
| 112 | mAutomaticConfigurationEnabled = true; |
| 113 | mQueueRunning = false; |
| 114 | mScheduledAutomaticDisconnect = false; |
| 115 | } |
| 116 | |
| 117 | IMAPAsyncConnection::~IMAPAsyncConnection() |
| 118 | { |
nothing calls this directly
no test coverage detected