summaryrefslogtreecommitdiffstats
path: root/api/logic/meta/BaseEntity.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/meta/BaseEntity.h')
-rw-r--r--api/logic/meta/BaseEntity.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/api/logic/meta/BaseEntity.h b/api/logic/meta/BaseEntity.h
index 85c25e48..4483beab 100644
--- a/api/logic/meta/BaseEntity.h
+++ b/api/logic/meta/BaseEntity.h
@@ -51,15 +51,8 @@ public:
virtual QString localFilename() const = 0;
virtual QUrl url() const;
- bool isLoaded() const
- {
- return m_loadStatus > LoadStatus::NotLoaded;
- }
- bool shouldStartRemoteUpdate() const
- {
- // TODO: version-locks and offline mode?
- return m_updateStatus != UpdateStatus::InProgress;
- }
+ bool isLoaded() const;
+ bool shouldStartRemoteUpdate() const;
void load();
shared_qobject_ptr<Task> getCurrentTask();