aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/imap/MCIMAPProgressCallback.h
diff options
context:
space:
mode:
authorGravatar DINH Viet Hoa <hoa@sprw.me>2013-01-11 01:08:18 -0800
committerGravatar DINH Viet Hoa <hoa@sprw.me>2013-01-11 01:08:18 -0800
commit739b68a69682d80d8247d4465eae7b182acc9da0 (patch)
tree34c33738bc0761d30c13f7f9b88fdf0d5c8cb4a9 /src/core/imap/MCIMAPProgressCallback.h
parentf83e0e9ba3da2b8887f849483506d5de8f1d2c54 (diff)
first commit
Diffstat (limited to 'src/core/imap/MCIMAPProgressCallback.h')
-rw-r--r--src/core/imap/MCIMAPProgressCallback.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/core/imap/MCIMAPProgressCallback.h b/src/core/imap/MCIMAPProgressCallback.h
new file mode 100644
index 00000000..b39e0dbd
--- /dev/null
+++ b/src/core/imap/MCIMAPProgressCallback.h
@@ -0,0 +1,16 @@
+#ifndef __MAILCORE_MCIMAPPROGRESSCALLBACK_H_
+
+#define __MAILCORE_MCIMAPPROGRESSCALLBACK_H_
+
+namespace mailcore {
+
+ class IMAPSession;
+
+ class IMAPProgressCallback {
+ public:
+ virtual void bodyProgress(IMAPSession * session, unsigned int current, unsigned int maximum) {};
+ virtual void itemsProgress(IMAPSession * session, unsigned int current, unsigned int maximum) {};
+ };
+}
+
+#endif