logic: Use ControllerProxy in Bookmarking UI classes instead of messaging

* changed ControllerProxy to template class
* allow passing method pointers and arguments to ControllerProxy
* replaced some messages with ControllerProxy calls
* moved logic from BookmarkView into BookmarkController
This commit is contained in:
Eberhard Graether
2017-10-03 07:59:59 +02:00
parent e604d24c40
commit a72da67d32
33 changed files with 641 additions and 840 deletions
+17
View File
@@ -12,6 +12,23 @@
class Bookmark
{
public:
enum BookmarkFilter
{
FILTER_UNKNOWN = 0,
FILTER_ALL,
FILTER_NODES,
FILTER_EDGES
};
enum BookmarkOrder
{
ORDER_NONE = 0,
ORDER_DATE_ASCENDING,
ORDER_DATE_DESCENDING,
ORDER_NAME_ASCENDING,
ORDER_NAME_DESCENDING
};
Bookmark(const Id id, const std::string& name, const std::string& comment, const TimeStamp& timeStamp, const BookmarkCategory& category);
virtual ~Bookmark();