summaryrefslogtreecommitdiffstats
blob: 090af563166a093ae8c56442853c49de1624f782 (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;
    };
}