forward declare ltdl stuff
This commit is contained in:
parent
8b74a301fb
commit
5daa49ff41
3 changed files with 13 additions and 12 deletions
|
@ -24,27 +24,25 @@
|
|||
|
||||
#ifndef PLUGIN_HPP
|
||||
#define PLUGIN_HPP
|
||||
// ltdl
|
||||
#include <ltdl.h>
|
||||
// stl
|
||||
#include <string>
|
||||
// boost
|
||||
#include <boost/utility.hpp>
|
||||
|
||||
typedef struct lt_dlhandle_struct * lt_dlhandle;
|
||||
namespace mapnik
|
||||
{
|
||||
class PluginInfo : boost::noncopyable
|
||||
{
|
||||
class PluginInfo : boost::noncopyable
|
||||
{
|
||||
private:
|
||||
std::string name_;
|
||||
lt_dlhandle module_;
|
||||
|
||||
std::string name_;
|
||||
lt_dlhandle module_;
|
||||
public:
|
||||
PluginInfo (const std::string& name,const lt_dlhandle module);
|
||||
~PluginInfo();
|
||||
const std::string& name() const;
|
||||
lt_dlhandle handle() const;
|
||||
};
|
||||
PluginInfo (const std::string& name,const lt_dlhandle module);
|
||||
~PluginInfo();
|
||||
const std::string& name() const;
|
||||
lt_dlhandle handle() const;
|
||||
};
|
||||
}
|
||||
|
||||
#endif //PLUGIN_HPP
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
#include <boost/filesystem/operations.hpp>
|
||||
// mapnik
|
||||
#include <mapnik/datasource_cache.hpp>
|
||||
// ltdl
|
||||
#include <ltdl.h>
|
||||
|
||||
namespace mapnik
|
||||
{
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
|
||||
//$Id: plugin.cpp 17 2005-03-08 23:58:43Z pavlenko $
|
||||
|
||||
#include <ltdl.h>
|
||||
#include <mapnik/plugin.hpp>
|
||||
|
||||
namespace mapnik
|
||||
|
|
Loading…
Add table
Reference in a new issue