aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/nntp/MCNNTPGroupInfo.h
blob: 75a6675c3da5902e0f19127bd6246dcbf26b50b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef MAILCORE_MCNNTPGROUPINFO_H

#define MAILCORE_MCNNTPGROUPINFO_H

#include <MailCore/MCBaseTypes.h>

#ifdef __cplusplus

namespace mailcore {
    
    class MAILCORE_EXPORT NNTPGroupInfo : public Object {
    public:
        NNTPGroupInfo();
        virtual ~NNTPGroupInfo();
        
        virtual void setName(String * uid);
        virtual String * name();
        
        virtual void setMessageCount(uint32_t messages);
        virtual uint32_t messageCount();
        
    public: // subclass behavior
        NNTPGroupInfo(NNTPGroupInfo * other);
        virtual String * description();
        virtual Object * copy();
        
    private:
        String * mName;
        uint32_t mMessageCount;
        
        void init();
    };
    
}

#endif

#endif