mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-13 03:09:57 +01:00
Milestone in SourceCallbacks and Keyboard callback trigger
Updated SourceCallback class to accept cloning, reversing, and visitors for saving./loading. New mechanism in Source to listen to key triggers for launching SourceCallbacks. Saving and loading in SessionVisitor and SessionCreator.
This commit is contained in:
@@ -33,6 +33,7 @@ class SourceLink {
|
||||
|
||||
public:
|
||||
SourceLink(): host_(nullptr), target_(nullptr), id_(0) { }
|
||||
SourceLink(const SourceLink &);
|
||||
SourceLink(Source *s);
|
||||
~SourceLink();
|
||||
|
||||
@@ -51,6 +52,8 @@ protected:
|
||||
};
|
||||
|
||||
typedef std::list<SourceLink*> SourceLinkList;
|
||||
SourceList validate (const SourceLinkList &list);
|
||||
SourceLinkList getLinkList (const SourceList &list);
|
||||
void clearLinkList (SourceLinkList list);
|
||||
SourceList validateLinkList (const SourceLinkList &list);
|
||||
|
||||
#endif // SOURCELIST_H
|
||||
|
||||
Reference in New Issue
Block a user