21 lines
593 B
C++
21 lines
593 B
C++
#ifndef FEEDSMODELCLASSICCATEGORY_H
|
|
#define FEEDSMODELCLASSICCATEGORY_H
|
|
|
|
#include "core/feedsmodelrootitem.h"
|
|
|
|
|
|
// Base class for all categories contained in FeedsModel.
|
|
// NOTE: This class should be derived to create PARTICULAR category types.
|
|
class FeedsModelCategory : public FeedsModelRootItem {
|
|
public:
|
|
// Constructors and destructors
|
|
explicit FeedsModelCategory(FeedsModelRootItem *parent_item = NULL);
|
|
virtual ~FeedsModelCategory();
|
|
|
|
int countOfAllMessages() const;
|
|
int countOfUnreadMessages() const;
|
|
|
|
};
|
|
|
|
#endif // FEEDSMODELCLASSICCATEGORY_H
|