33 lines
657 B
C++
33 lines
657 B
C++
/* -----------------------------------------------------------------------------
|
|
GSFramework
|
|
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
|
----------------------------------------------------------------------------- */
|
|
|
|
|
|
#ifndef __NSHAREDLIB__
|
|
#define __NSHAREDLIB__
|
|
|
|
#define _CRTDBG_MAP_ALLOC
|
|
#include <stdlib.h>
|
|
#include <crtdbg.h>
|
|
|
|
|
|
namespace GS {
|
|
|
|
/*!
|
|
@short Shared library interface.
|
|
@author Emmanuel Julien (ejulien@owloh.com)
|
|
*/
|
|
struct ISharedLib
|
|
{
|
|
/// Lookup for a function exported by the shared library.
|
|
virtual void *GetFunctionPointer(const char *s) = 0;
|
|
|
|
virtual ~ISharedLib() {}
|
|
};
|
|
|
|
} // GS
|
|
|
|
|
|
#endif // __NSHAREDLIB__
|