Define a cursor on layout children

This commit is contained in:
Léa Saviot
2018-06-26 15:56:03 +02:00
parent 0ef7077bd3
commit 9a7441d045
5 changed files with 118 additions and 9 deletions

View File

@@ -1,5 +1,6 @@
#include "layout_reference.h"
#include "layout_cursor.h"
#include "layout_node.h"
#include "char_layout_node.h"
template <typename T>
@@ -7,4 +8,5 @@ LayoutCursor LayoutReference<T>::cursor() const {
return LayoutCursor(this->node());
}
template LayoutCursor LayoutReference<LayoutNode>::cursor() const;
template LayoutCursor LayoutReference<CharLayoutNode>::cursor() const;