src/VirtualObjectVisitor.h
author David Anderson <dvander@alliedmods.net>
Sat Aug 11 12:11:39 2012 -0700 (2012-08-11)
changeset 170 5e4570966ece
parent 86 32ad0523b309
child 195 c1ba166f3fc4
permissions -rw-r--r--
Parser support for public variables.
     1 /* vim: set ts=4 sw=4 tw=99 et:
     2  *
     3  * Copyright (C) 2012 David Anderson
     4  *
     5  * This file is part of JITCraft.
     6  *
     7  * JITCraft is free software: you can redistribute it and/or modify it under
     8  * the terms of the GNU General Public License as published by the Free
     9  * Software Foundation, either version 3 of the License, or (at your option)
    10  * any later version.
    11  * 
    12  * Foobar is distributed in the hope that it will be useful, but WITHOUT ANY
    13  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
    14  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
    15  *
    16  * You should have received a copy of the GNU General Public License along with
    17  * JITCraft. If not, see http://www.gnu.org/licenses/.
    18  */
    19 #ifndef _include_jc_virtual_object_visitor_h_
    20 #define _include_jc_virtual_object_visitor_h_
    21 
    22 namespace ke {
    23 
    24 class Object;
    25 
    26 class VirtualObjectVisitor
    27 {
    28   public:
    29     virtual void visit(Object **ptr) = 0;
    30 };
    31 
    32 }
    33 
    34 #endif // _include_jc_virtual_object_visitor_h_