is_plugin.cpp

This example shows how to check if the loaded module is a plugin.

#include        <loaders/dynamic_lib_loader.h>
#include        <utilities/plugin_interface.h>

#include        <iostream>

int main( int argc , char * argv[] )
{
        nitro::DynamicLibLoader         Module( "./module.dll" );

        std::cout<<nitro::PluginInterface::IsPlugin( Module )<<std::endl;
        std::cout<<nitro::PluginInterface::IsPlugin( Module )<<std::endl;

        return 0;
}

Generated by  doxygen 1.6.1