Changeset b0214bb1e7fa…
Parent e9f1a2588a49…
by
Changes to 4 files · Browse files at b0214bb1e7fa Showing diff from parent e9f1a2588a49 Diff from another changeset...
@@ -122,11 +122,6 @@ ;
-typedef std::map<UINT, MenuDescription> MenuIdCmdMap;
-
-static MenuDescriptionMap CMenuMenuDescMap;
-static MenuIdCmdMap MenuIdMap;
-
void CShellExtCMenu::AddMenuList(
UINT idCmd, const std::string& name, MenuDescriptionMap& menuDescMap)
{
|
@@ -16,6 +16,9 @@
typedef std::map<std::string, MenuDescription> MenuDescriptionMap;
+typedef std::map<UINT, MenuDescription> MenuIdCmdMap;
+
+
class CShellExtCMenu: public IContextMenu3, IShellExtInit
{
@@ -23,6 +26,8 @@ ULONG m_cRef;
std::vector<std::string> myFiles;
std::string myFolder;
+ MenuDescriptionMap CMenuMenuDescMap;
+ MenuIdCmdMap MenuIdMap;
virtual void RunDialog(const std::string&);
virtual MenuDescriptionMap& GetMenuDescriptionMap();
|
@@ -24,12 +24,6 @@ "drag_move drag_copy"
;
-static MenuDescriptionMap CDndMenuDescMap;
-
-MenuDescriptionMap& CShellExtDnd::GetMenuDescriptionMap()
-{
- return CDndMenuDescMap;
-}
#define ResultFromShort(i) ResultFromScode(MAKE_SCODE(SEVERITY_SUCCESS, 0, (USHORT)(i)))
|
@@ -10,7 +10,6 @@
protected:
virtual void RunDialog(const std::string&);
- virtual MenuDescriptionMap& GetMenuDescriptionMap();
public:
explicit CShellExtDnd(const char dummy);
|
Loading...