rssguard/src/librssguard/services/reddit/redditcategory.h
2021-11-16 07:18:48 +01:00

27 lines
519 B
C++

// For license of this file, see <project-root-folder>/LICENSE.md.
#ifndef REDDITCATEGORY_H
#define REDDITCATEGORY_H
#include "services/abstract/category.h"
class RedditCategory : public Category {
Q_OBJECT
public:
enum class Type {
Subscriptions = 1
};
explicit RedditCategory(Type type = Type::Subscriptions, RootItem* parent_item = nullptr);
Type type() const;
private:
void updateTitle();
private:
Type m_type;
};
#endif // REDDITCATEGORY_H