Commit cea022c0 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov

controllers realize

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@57694 954022d7-b5bf-4e40-9824-e11837661b57
parent f584e6fc
...@@ -1037,6 +1037,31 @@ namespace NSEditorApi ...@@ -1037,6 +1037,31 @@ namespace NSEditorApi
delete m_pData; delete m_pData;
} }
}; };
class CAscMenuEventListener
{
public:
// alloc memory release!!!
virtual void OnEvent(CAscMenuEvent* pEvent)
{
if (NULL != pEvent)
delete pEvent;
}
virtual bool IsSupportEvent(int nEventType)
{
return true;
}
};
class CAscMenuController
{
// release memory in sdk
virtual void Apply(CAscMenuEvent* pEvent)
{
if (NULL != pEvent)
delete pEvent;
}
};
} }
#define ASC_MENU_EVENT_TYPE_TEXTPR 1 #define ASC_MENU_EVENT_TYPE_TEXTPR 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment