Mercurial > hg > Feedworm
diff backend/AbstractPreferences.py @ 256:f79be01821c4
Arangodb backend, first version which barely works for reading
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Wed, 30 Jan 2019 07:11:10 +0100 |
parents | |
children | 4ca1fac32dde |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/backend/AbstractPreferences.py Wed Jan 30 07:11:10 2019 +0100 @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- + +class AbstractPreferences(object): + HIDE_READ_FEED_ENTRIES = "hideReadFeedEntries" + PROXY_HOST = "proxyHost" + SHOW_ONLY_UNREAD_FEEDS = "showOnlyUnreadFeeds" + START_MAXIMIZED = "startMaximized" + USE_PROXY = "useProxy" + + def isProxyConfigured(self): + return self.proxyHost() is not None