#ifndef __ILOGENTRY_H__ #define __ILOGENTRY_H__ #include "MarshalSupport/MarshalSupport.pkg" #include using namespace MarshalSupport::Operators; class ILogEntry { public: // Enumerations enum class EventLevel; public: // Constructors inline virtual ~ILogEntry() = 0; // Interface version functions static inline unsigned int ThisILogEntryVersion() { return 1; } virtual unsigned int GetILogEntryVersion() const = 0; // Getters virtual EventLevel GetEventLevel() const = 0; virtual Marshal::Ret GetText() const = 0; virtual Marshal::Ret GetSource() const = 0; virtual Marshal::Ret GetEventLevelString() const = 0; virtual Marshal::Ret GetTimeString() const = 0; // Setters virtual void OverrideSourceText(const Marshal::In& asource) const = 0; // Version functions virtual unsigned int GetInterfaceVersion() const = 0; }; ILogEntry::~ILogEntry() { } #include "ILogEntry.inl" #endif