Changeset View
Changeset View
Standalone View
Standalone View
src/dummystorage/feedstoragedummyimpl.h
Show First 20 Lines • Show All 83 Lines • ▼ Show 20 Line(s) | 34 | public: | |||
---|---|---|---|---|---|
84 | 84 | | |||
85 | QString authorName(const QString &guid) const override; | 85 | QString authorName(const QString &guid) const override; | ||
86 | QString authorUri(const QString &guid) const override; | 86 | QString authorUri(const QString &guid) const override; | ||
87 | QString authorEMail(const QString &guid) const override; | 87 | QString authorEMail(const QString &guid) const override; | ||
88 | 88 | | |||
89 | void close() override; | 89 | void close() override; | ||
90 | void commit() override; | 90 | void commit() override; | ||
91 | void rollback() override; | 91 | void rollback() override; | ||
92 | | ||||
93 | void convertOldArchive() override; | | |||
94 | private: | 92 | private: | ||
95 | /** finds article by guid, returns -1 if not in archive **/ | 93 | /** finds article by guid, returns -1 if not in archive **/ | ||
96 | int findArticle(const QString &guid) const; | 94 | int findArticle(const QString &guid) const; | ||
97 | void setTotalCount(int total); | 95 | void setTotalCount(int total); | ||
98 | class FeedStorageDummyImplPrivate; | 96 | class FeedStorageDummyImplPrivate; | ||
99 | FeedStorageDummyImplPrivate *d; | 97 | FeedStorageDummyImplPrivate *d; | ||
100 | }; | 98 | }; | ||
101 | } // namespace Backend | 99 | } // namespace Backend | ||
102 | } // namespace Akregator | 100 | } // namespace Akregator | ||
103 | 101 | | |||
104 | #endif // AKREGATOR_FEEDSTORAGEDUMMYIMPL_H | 102 | #endif // AKREGATOR_FEEDSTORAGEDUMMYIMPL_H |