#ifndef __ISYSTEMINFO_H__ #define __ISYSTEMINFO_H__ #include "MarshalSupport/MarshalSupport.pkg" #include class ISystemGUIInterface; class IGUIExtensionInterface; using namespace MarshalSupport::Operators; class ISystemInfo { public: // Typedefs typedef ISystemGUIInterface* (*AllocatorPointer)(IGUIExtensionInterface& guiInterface); typedef void (*DestructorPointer)(ISystemGUIInterface* system); public: // Constructors inline virtual ~ISystemInfo() = 0; // Interface version functions static inline unsigned int ThisISystemInfoVersion() { return 1; } virtual unsigned int GetISystemInfoVersion() const = 0; // Getters virtual AllocatorPointer GetAllocator() const = 0; virtual DestructorPointer GetDestructor() const = 0; virtual unsigned int GetSystemVersionNo() const = 0; virtual Marshal::Ret GetSystemCopyright() const = 0; virtual Marshal::Ret GetSystemComments() const = 0; // Setters virtual void SetSystemSettings(AllocatorPointer allocator, DestructorPointer destructor, unsigned int systemVersionNo, const Marshal::In& systemCopyright, const Marshal::In& systemComments) = 0; virtual void SetSystemAllocators(AllocatorPointer allocator, DestructorPointer destructor) = 0; virtual void SetSystemVersionNo(unsigned int systemVersionNo) = 0; virtual void SetSystemCopyright(const Marshal::In& systemCopyright) = 0; virtual void SetSystemComments(const Marshal::In& systemmComments) = 0; }; ISystemInfo::~ISystemInfo() { } #endif