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

StackObjects

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@57824 954022d7-b5bf-4e40-9824-e11837661b57
parent 388ae825
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
#include "./Editor_Defines.h" #include "./Editor_Defines.h"
#include <string> #include <string>
#include <vector>
// colors // colors
namespace NSEditorApi namespace NSEditorApi
...@@ -1134,6 +1135,26 @@ namespace NSEditorApi ...@@ -1134,6 +1135,26 @@ namespace NSEditorApi
} }
}; };
class CAscMenuEventStackData
{
public:
std::vector<CAscMenuEvent*> m_data;
public:
CAscMenuEventStackData()
{
}
~CAscMenuEventStackData()
{
for (std::vector<CAscMenuEvent*>::iterator i = m_data.begin(), i != m_data.end(); ++i)
{
CAscMenuEvent* data = *i;
if (NULL != data)
delete data;
}
}
};
class CAscMenuEventListener class CAscMenuEventListener
{ {
public: public:
...@@ -1165,5 +1186,6 @@ namespace NSEditorApi ...@@ -1165,5 +1186,6 @@ namespace NSEditorApi
#define ASC_MENU_EVENT_TYPE_UNDO 3 #define ASC_MENU_EVENT_TYPE_UNDO 3
#define ASC_MENU_EVENT_TYPE_REDO 4 #define ASC_MENU_EVENT_TYPE_REDO 4
#define ASC_MENU_EVENT_TYPE_LOADDOCUMENT 5 #define ASC_MENU_EVENT_TYPE_LOADDOCUMENT 5
#define ASC_MENU_EVENT_TYPE_STACK_OBJECTS 6
#endif //_BUILD_EDITOR_API_CROSSPLATFORM_H_ #endif //_BUILD_EDITOR_API_CROSSPLATFORM_H_
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