#ifndef __S315_5313MENUS_H__ #define __S315_5313MENUS_H__ #include "Extension/Extension.pkg" #include "315-5313/IS315_5313.h" class DebugMenuHandler; class SettingsMenuHandler; class S315_5313Menus :public Extension { public: // Constructors S315_5313Menus(const std::wstring& implementationName, const std::wstring& instanceName, unsigned int moduleID); ~S315_5313Menus(); // Window functions virtual bool RegisterDeviceMenuHandler(IDevice* targetDevice); virtual void UnregisterDeviceMenuHandler(IDevice* targetDevice); virtual void AddDeviceMenuItems(DeviceMenu deviceMenu, IMenuSegment& menuSegment, IDevice* targetDevice); virtual bool RestoreDeviceViewState(const Marshal::In& viewGroupName, const Marshal::In& viewName, IHierarchicalStorageNode& viewState, IViewPresenter** restoredViewPresenter, IDevice* targetDevice); virtual bool OpenDeviceView(const Marshal::In& viewGroupName, const Marshal::In& viewName, IDevice* targetDevice); private: std::map _debugMenuHandlers; std::map _settingsMenuHandlers; }; #endif