Files
Include/EMkMachMgr.h
T
Dario Sassi eaaa787b37 Include :
- aggiornamenti e nuovi prototipi per MachMgr.
2015-03-25 14:35:24 +00:00

36 lines
1.2 KiB
C++

//----------------------------------------------------------------------------
// EgalTech 2015-2015
//----------------------------------------------------------------------------
// File : EMkMachMgr.h Data : 23.03.15 Versione : 1.6c6
// Contenuto : Dichiarazione della interfaccia IMachMgr.
//
//
//
// Modifiche : 23.03.15 DS Creazione modulo.
//
//
//----------------------------------------------------------------------------
#pragma once
#include "/EgtDev/Include/EGkGeomDB.h"
//----------------------- Macro per import/export ----------------------------
#undef EMK_EXPORT
#if defined( I_AM_EMK) // da definirsi solo nella DLL
#define EMK_EXPORT __declspec( dllexport)
#else
#define EMK_EXPORT __declspec( dllimport)
#endif
//-----------------------------------------------------------------------------
class __declspec( novtable) IMachMgr
{
public :
virtual ~IMachMgr( void) {}
virtual bool Init( IGeomDB* pGeomDB) = 0 ;
virtual int AddMachGroup( const std::string& sName, const std::string& sMachineName) = 0 ;
} ;
//-----------------------------------------------------------------------------
EMK_EXPORT IMachMgr* CreateMachMgr( void) ;