#include "Extension.h" //---------------------------------------------------------------------------------------------------------------------- // Constructors //---------------------------------------------------------------------------------------------------------------------- Extension::~Extension() { } //---------------------------------------------------------------------------------------------------------------------- // Interface version functions //---------------------------------------------------------------------------------------------------------------------- unsigned int Extension::GetIExtensionVersion() const { return ThisIExtensionVersion(); } //---------------------------------------------------------------------------------------------------------------------- // Initialization functions //---------------------------------------------------------------------------------------------------------------------- bool Extension::BindToSystemInterface(ISystemExtensionInterface* systemInterface) { _systemInterface = systemInterface; return true; } //---------------------------------------------------------------------------------------------------------------------- bool Extension::BindToGUIInterface(IGUIExtensionInterface* guiInterface) { _guiInterface = guiInterface; return true; } //---------------------------------------------------------------------------------------------------------------------- bool Extension::Construct(IHierarchicalStorageNode& node) { return true; } //---------------------------------------------------------------------------------------------------------------------- bool Extension::BuildExtension() { return true; } //---------------------------------------------------------------------------------------------------------------------- bool Extension::ValidateExtension() { return true; } //---------------------------------------------------------------------------------------------------------------------- // Reference functions //---------------------------------------------------------------------------------------------------------------------- bool Extension::AddReference(const Marshal::In& referenceName, IDevice* target) { return false; } //---------------------------------------------------------------------------------------------------------------------- bool Extension::AddReference(const Marshal::In& referenceName, IExtension* target) { return false; } //---------------------------------------------------------------------------------------------------------------------- bool Extension::AddReference(const Marshal::In& referenceName, IBusInterface* target) { return false; } //---------------------------------------------------------------------------------------------------------------------- bool Extension::AddReference(const Marshal::In& referenceName, IClockSource* target) { return false; } //---------------------------------------------------------------------------------------------------------------------- bool Extension::RemoveReference(IDevice* target) { return false; } //---------------------------------------------------------------------------------------------------------------------- bool Extension::RemoveReference(IExtension* target) { return false; } //---------------------------------------------------------------------------------------------------------------------- bool Extension::RemoveReference(IBusInterface* target) { return false; } //---------------------------------------------------------------------------------------------------------------------- bool Extension::RemoveReference(IClockSource* target) { return false; } //---------------------------------------------------------------------------------------------------------------------- // Name functions //---------------------------------------------------------------------------------------------------------------------- Marshal::Ret Extension::GetExtensionClassName() const { return _className; } //---------------------------------------------------------------------------------------------------------------------- Marshal::Ret Extension::GetExtensionInstanceName() const { return _instanceName; } //---------------------------------------------------------------------------------------------------------------------- unsigned int Extension::GetExtensionModuleID() const { return _moduleID; } //---------------------------------------------------------------------------------------------------------------------- // Savestate functions //---------------------------------------------------------------------------------------------------------------------- void Extension::LoadSettingsState(IHierarchicalStorageNode& node) { } //---------------------------------------------------------------------------------------------------------------------- void Extension::SaveSettingsState(IHierarchicalStorageNode& node) const { } //---------------------------------------------------------------------------------------------------------------------- void Extension::LoadDebuggerState(IHierarchicalStorageNode& node) { } //---------------------------------------------------------------------------------------------------------------------- void Extension::SaveDebuggerState(IHierarchicalStorageNode& node) const { } //---------------------------------------------------------------------------------------------------------------------- // Window functions //---------------------------------------------------------------------------------------------------------------------- AssemblyHandle Extension::GetAssemblyHandle() const { return _assemblyHandle; } //---------------------------------------------------------------------------------------------------------------------- void Extension::SetAssemblyHandle(AssemblyHandle assemblyHandle) { _assemblyHandle = assemblyHandle; } //---------------------------------------------------------------------------------------------------------------------- bool Extension::RegisterSystemMenuHandler() { return false; } //---------------------------------------------------------------------------------------------------------------------- void Extension::UnregisterSystemMenuHandler() { } //---------------------------------------------------------------------------------------------------------------------- bool Extension::RegisterModuleMenuHandler(unsigned int moduleID) { return false; } //---------------------------------------------------------------------------------------------------------------------- void Extension::UnregisterModuleMenuHandler(unsigned int moduleID) { } //---------------------------------------------------------------------------------------------------------------------- bool Extension::RegisterDeviceMenuHandler(IDevice* targetDevice) { return false; } //---------------------------------------------------------------------------------------------------------------------- void Extension::UnregisterDeviceMenuHandler(IDevice* targetDevice) { } //---------------------------------------------------------------------------------------------------------------------- bool Extension::RegisterExtensionMenuHandler(IExtension* targetExtension) { return false; } //---------------------------------------------------------------------------------------------------------------------- void Extension::UnregisterExtensionMenuHandler(IExtension* targetExtension) { } //---------------------------------------------------------------------------------------------------------------------- void Extension::AddSystemMenuItems(SystemMenu systemMenu, IMenuSegment& menuSegment) { } //---------------------------------------------------------------------------------------------------------------------- void Extension::AddModuleMenuItems(ModuleMenu moduleMenu, IMenuSegment& menuSegment, unsigned int moduleID) { } //---------------------------------------------------------------------------------------------------------------------- void Extension::AddDeviceMenuItems(DeviceMenu deviceMenu, IMenuSegment& menuSegment, IDevice* targetDevice) { } //---------------------------------------------------------------------------------------------------------------------- void Extension::AddExtensionMenuItems(ExtensionMenu extensionMenu, IMenuSegment& menuSegment, IExtension* targetExtension) { } //---------------------------------------------------------------------------------------------------------------------- bool Extension::RestoreSystemViewState(const Marshal::In& viewGroupName, const Marshal::In& viewName, IHierarchicalStorageNode& viewState, IViewPresenter** restoredViewPresenter) { return false; } //---------------------------------------------------------------------------------------------------------------------- bool Extension::RestoreModuleViewState(const Marshal::In& viewGroupName, const Marshal::In& viewName, IHierarchicalStorageNode& viewState, IViewPresenter** restoredViewPresenter, unsigned int moduleID) { return false; } //---------------------------------------------------------------------------------------------------------------------- bool Extension::RestoreDeviceViewState(const Marshal::In& viewGroupName, const Marshal::In& viewName, IHierarchicalStorageNode& viewState, IViewPresenter** restoredViewPresenter, IDevice* targetDevice) { return false; } //---------------------------------------------------------------------------------------------------------------------- bool Extension::RestoreExtensionViewState(const Marshal::In& viewGroupName, const Marshal::In& viewName, IHierarchicalStorageNode& viewState, IViewPresenter** restoredViewPresenter, IExtension* targetExtension) { return false; } //---------------------------------------------------------------------------------------------------------------------- bool Extension::OpenSystemView(const Marshal::In& viewGroupName, const Marshal::In& viewName) { return false; } //---------------------------------------------------------------------------------------------------------------------- bool Extension::OpenModuleView(const Marshal::In& viewGroupName, const Marshal::In& viewName, unsigned int moduleID) { return false; } //---------------------------------------------------------------------------------------------------------------------- bool Extension::OpenDeviceView(const Marshal::In& viewGroupName, const Marshal::In& viewName, IDevice* targetDevice) { return false; } //---------------------------------------------------------------------------------------------------------------------- bool Extension::OpenExtensionView(const Marshal::In& viewGroupName, const Marshal::In& viewName, IExtension* targetExtension) { return false; }