Fawkes API Fawkes Development Version
skiller_feature.cpp
1/***************************************************************************
2 * skiller_feature.cpp - Additional skiller feature base class
3 *
4 * Created: Wed Jul 16 13:20:22 2014 (on flight to Joao Pessoa)
5 * Copyright 2014 Tim Niemueller [www.niemueller.de]
6 ****************************************************************************/
7
8/* This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Library General Public License for more details.
17 *
18 * Read the full text in the LICENSE.GPL file in the doc directory.
19 */
20
21#include "skiller_feature.h"
22
23/** @class SkillerFeature "skiller_feature.h"
24 * Skiller feature base class.
25 * Skiller features are additions to the skiller Lua context that can be
26 * added dynamically.
27 * @author Tim Niemueller
28 *
29 * @fn void SkillerFeature::init_lua_context(fawkes::LuaContext *context) = 0
30 * Initialize a Lua context.
31 * The Lua context has been initialized with the basics. Now the feature can
32 * make its additions and add stuff or register as context watcher.
33 * @param context Lua context to initialize
34 *
35 * @fn void SkillerFeature::finalize_lua_context(fawkes::LuaContext *context) = 0
36 * Finalize a Lua context.
37 * The Lua context will be torn down shortly and needs to be finalized,
38 * for example perform any extra operations for proper finalization or
39 * unregister a context watcher.
40 * After this call the context may no longer be used or dereferenced.
41 * @param context Lua context to finalize
42 */
43
44/** Virtual empty destructor. */
46{
47}
virtual ~SkillerFeature()
Virtual empty destructor.