libnebular-plugin-base.hpp File Reference

LibNebular, Picture loader plugin shared include. More...

#include "libnebular.hpp"
#include "libnebular-plugin.hpp"
Include dependency graph for libnebular-plugin-base.hpp:
This graph shows which files directly or indirectly include this file:

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"

Detailed Description

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.

Author:
Leonid Sadikov ( leonius@inbox.ru )
Date:
Created: 22 Mar 2010

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.:

    LIBNEBULAR_SET_PLUGIN_PIC_HANDLER_MGR(libnebular::BmpPicHandlerMgr)

Definition in file libnebular-plugin-base.hpp.


Define Documentation

#define LIBNEBULAR_SET_PLUGIN_PIC_HANDLER_MGR ( CurrPicHandlerMgr   ) 
Value:
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.

Generated on Sun May 29 18:23:53 2011 for libnebular by  doxygen 1.6.3