LibNebular, Picture loader plugin shared include. More...
#include "libnebular.hpp"
#include "libnebular-plugin.hpp"
Go to the source code of this file.
Classes | |
class | libnebular::MgrForPicHandler< CurrPictureHandler > |
Implementation of PicHandlerMgr for CurrPictureHandler to be parametrized and inherited in each plugin implementation file. More... | |
Namespaces | |
namespace | libnebular |
All ⟨libnebular⟩ identifiers which are exposed to public. | |
Defines | |
#define | LIBNEBULAR_SET_PLUGIN_PIC_HANDLER_MGR(CurrPicHandlerMgr) |
"Sets" descendant of libnebular::PicHandlerMgr to be "of this plugin file" |
LibNebular, Picture loader plugin shared include.
Copyright (C) 2011 Leonid Sadikov ⟨ leonius@inbox.ru ⟩
This file is part of LibNebular.
LibNebular is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 3 as published by the Free Software Foundation.
See "COPYING.LESSER" and "COPYING" in distribution or ⟨http://www.gnu.org/licenses/⟩ for full license text.
Should be included in each plugin file. Also, (1) descendant of libnebular::PictureHanler
and (2) libnebular::MgrForPicHandler parametrized by former should be defined in each plugin file; and (3) latter type should be "set" by macro LIBNEBULAR_SET_PLUGIN_PIC_HANDLER_MGR
, e.g.:
Definition in file libnebular-plugin-base.hpp.
#define LIBNEBULAR_SET_PLUGIN_PIC_HANDLER_MGR | ( | CurrPicHandlerMgr | ) |
extern "C"{ \ boost::shared_ptr<libnebular::PicHandlerMgr> getNewCurrPicHandlerMgr(){ \ return boost::shared_ptr<libnebular::PicHandlerMgr>(new CurrPicHandlerMgr); \ } \ } \
"Sets" descendant of libnebular::PicHandlerMgr
to be "of this plugin file"
Definition at line 33 of file libnebular-plugin-base.hpp.