aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/nntp/MCONNTPGroupInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/objc/nntp/MCONNTPGroupInfo.h')
-rw-r--r--src/objc/nntp/MCONNTPGroupInfo.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/objc/nntp/MCONNTPGroupInfo.h b/src/objc/nntp/MCONNTPGroupInfo.h
new file mode 100644
index 00000000..e34445a9
--- /dev/null
+++ b/src/objc/nntp/MCONNTPGroupInfo.h
@@ -0,0 +1,27 @@
+//
+// MCONNTPGroupInfo.h
+// mailcore2
+//
+// Created by Robert Widmann on 8/13/14.
+// Copyright (c) 2014 MailCore. All rights reserved.
+//
+
+#ifndef MAILCORE_MCONNTPGROUPINFO_H
+
+#define MAILCORE_MCONNTPGROUPINFO_H
+
+#import <Foundation/Foundation.h>
+
+/** This is information of a message fetched by MCONNTPListNewsgroupsOperation.*/
+
+@interface MCONNTPGroupInfo : NSObject <NSCopying>
+
+/** The name of the news group. */
+@property (nonatomic, copy) NSString *name;
+
+/** The number of messages in the news group. */
+@property (nonatomic, assign) unsigned int messageCount;
+
+@end
+
+#endif