96952c35f8
- aggiornamento prototipi - aggiunte per ObjUser.
33 lines
1.2 KiB
C++
33 lines
1.2 KiB
C++
//----------------------------------------------------------------------------
|
|
// EgalTech 2015-2015
|
|
//----------------------------------------------------------------------------
|
|
// File : EGkObjUser.h Data : 22.05.15 Versione : 1.6e3
|
|
// Contenuto : Dichiarazione della interfaccia IObjUser.
|
|
//
|
|
//
|
|
//
|
|
// Modifiche : 22.05.15 DS Creazione modulo.
|
|
//
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include "/EgtDev/Include/EgtStringBase.h"
|
|
|
|
//----------------------------------------------------------------------------
|
|
class __declspec( novtable) IObjUser
|
|
{
|
|
public :
|
|
virtual ~IObjUser( void) {}
|
|
virtual IObjUser* Clone( void) const = 0 ;
|
|
virtual bool IsDefault(void) const { return false ; }
|
|
virtual const std::string& GetClassName( void) const = 0 ;
|
|
virtual bool Dump( std::string& sOut, const char* szNewLine = "\n") const = 0 ;
|
|
virtual bool ToSave( void) const { return false ; }
|
|
virtual bool Save( STRVECTOR& vString) const { return false ; }
|
|
virtual bool Load( const STRVECTOR& vString) { return false ; }
|
|
virtual bool SetOwner( int nId) = 0 ;
|
|
virtual int GetOwner( void) const = 0 ;
|
|
} ;
|