home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1999 / MacHack 1999.toast / Papers / aSEPiA example source / plugin / PluginExports.c < prev    next >
Encoding:
C/C++ Source or Header  |  1999-06-25  |  508 b   |  21 lines  |  [TEXT/CWIE]

  1. /*---------------------------------------------------------------
  2.  
  3.     PluginExports.c
  4.     
  5.     This file has all of the exported functions for the plugin.
  6.  
  7. ---------------------------------------------------------------*/
  8.  
  9. #include "IInterfaceProvider.h"
  10. #include "CInterfaceProvider.h"
  11.  
  12.  
  13. #pragma export on
  14. extern "C" IInterfaceProvider*    GetInterfaceProvider();
  15. #pragma export off
  16.  
  17. IInterfaceProvider*    GetInterfaceProvider()
  18. {
  19.     // create a new interface provider and pass it back.
  20.     return new CInterfaceProvider();
  21. }