// For license of this file, see /LICENSE.md. #ifndef TYPEDEFS_H #define TYPEDEFS_H #include "core/message.h" #include "services/abstract/rootitem.h" #include #include // First item here represents ID (int, primary key) of the item. typedef QList> Assignment; typedef QPair AssignmentItem; typedef QPair ImportanceChange; struct ArticleCounts { int m_total = -1; int m_unread = -1; }; struct UpdatedArticles { QList m_unread; QList m_all; }; struct IconLocation { QString m_url; // The "bool" if true means that the URL is direct and download directly, if false then // only use its domain and download via 3rd-party service. bool m_isDirect; }; #endif // TYPEDEFS_H