//  Beta release only.
//
//  Copyright(c) Ivyware Pty Ltd  2013
//               MELBOURNE, VICTORIA, AUSTRALIA, 3130
//
//  Implements P2PmsgMAPI.DLL exported class, function and variable
//  definitions
//  NOTES: To be included with the definitions for any object exported
//         from the P2PmsgMAPI.DLL  Follows the MFC_EXT_CLASS pattern
//       : Either the P2PmsgMAPI project or the StdAfx.h file MUST
//         contain the P2PmsgMAPI_EXPORTS definition.  For further
//         Developer Studio details refer Project Properties >> Config >>
//         C/C++ Preprocessor
//

#pragma once

#if defined (P2PmsgMAPI_EXPORTS)
  #define P2PmsgMAPI_EXT __declspec(dllexport)
#else
  #define P2PmsgMAPI_EXT __declspec(dllimport)
#endif

//  The following ifdef block is the standard way of creating macros which make exporting 
//  from a DLL simpler. All files within this DLL are compiled with the P2PMSGHTTP_EXPORTS
//  symbol defined on the command line. this symbol should not be defined on any project
//  that uses this DLL. This way any other project whose source files include this file see 
//  P2PMSGODBC_API functions as being imported from a DLL, whereas this DLL sees symbols
//  defined with this macro as being exported.
#ifdef P2PmsgMAPI_EXPORTS
#define P2PMSGMAPI_API __declspec(dllexport)
#else
#define P2PMSGMAPI_API __declspec(dllimport)
#endif

// This class is exported from the P2PmsgODBC.dll
class P2PMSGMAPI_API CP2PmsgMAPI {
public:
	CP2PmsgMAPI(void);
	// TODO: add your methods here.
};

extern P2PMSGMAPI_API int nP2PmsgMAPI;

P2PMSGMAPI_API int fnP2PmsgMAPI(void);
