blob: 413d6cff6b92b0c4fbe8b4f89c54ccada1f7d67c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/*
* Copyright (c) 2012 Mateusz Piękos
* Licensed under the simplified BSD license.
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
#pragma once
namespace Swift {
class WhiteboardLineElement;
class WhiteboardFreehandPathElement;
class WhiteboardRectElement;
class WhiteboardPolygonElement;
class WhiteboardTextElement;
class WhiteboardEllipseElement;
class WhiteboardElementVisitor {
public:
virtual ~WhiteboardElementVisitor() {}
virtual void visit(WhiteboardLineElement& /*element*/) = 0;
virtual void visit(WhiteboardFreehandPathElement& /*element*/) = 0;
virtual void visit(WhiteboardRectElement& /*element*/) = 0;
virtual void visit(WhiteboardPolygonElement& /*element*/) = 0;
virtual void visit(WhiteboardTextElement& /*element*/) = 0;
virtual void visit(WhiteboardEllipseElement& /*element*/) = 0;
};
}
|