aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/async/imap/MCIMAPQuotaOperation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/async/imap/MCIMAPQuotaOperation.h')
-rw-r--r--src/async/imap/MCIMAPQuotaOperation.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/async/imap/MCIMAPQuotaOperation.h b/src/async/imap/MCIMAPQuotaOperation.h
new file mode 100644
index 00000000..5cef943c
--- /dev/null
+++ b/src/async/imap/MCIMAPQuotaOperation.h
@@ -0,0 +1,39 @@
+//
+// MCIMAPQuotaOperation.h
+// mailcore2
+//
+// Created by Petro Korenev on 8/2/13.
+// Copyright (c) 2013 MailCore. All rights reserved.
+//
+
+#ifndef __MAILCORE_MCIMAPQuotaOperation_H_
+
+#define __MAILCORE_MCIMAPQuotaOperation_H_
+
+#include "MCIMAPOperation.h"
+
+#ifdef __cplusplus
+
+namespace mailcore {
+
+ class IMAPQuotaOperation : public IMAPOperation {
+ public:
+ IMAPQuotaOperation();
+ virtual ~IMAPQuotaOperation();
+
+ // Result.
+ virtual uint32_t limit();
+ virtual uint32_t usage();
+
+ public: // subclass behavior
+ virtual void main();
+
+ private:
+ uint32_t mLimit;
+ uint32_t mUsage;
+ };
+}
+
+#endif
+
+#endif