OSDN Git Service

post WM_NULL to attached threads on yamy exit to unmap mayu{32,64}.dll
[yamy/yamy.git] / engine.h
index 35b3a65..a1967e7 100644 (file)
--- a/engine.h
+++ b/engine.h
@@ -59,7 +59,7 @@ private:
        };\r
        typedef std::map<DWORD /*ThreadId*/, FocusOfThread> FocusOfThreads;     ///\r
 \r
-       typedef std::list<DWORD /*ThreadId*/> DetachedThreadIds;        ///\r
+       typedef std::list<DWORD /*ThreadId*/> ThreadIds;        ///\r
 \r
        /// current status in generateKeyboardEvents\r
        class Current\r
@@ -235,7 +235,8 @@ private:
        FocusOfThread * volatile m_currentFocusOfThread; ///\r
        FocusOfThread m_globalFocus;                    ///\r
        HWND m_hwndFocus;                               /// current focus window\r
-       DetachedThreadIds m_detachedThreadIds;  ///\r
+       ThreadIds m_attachedThreadIds;  ///\r
+       ThreadIds m_detachedThreadIds;  ///\r
 \r
        // for functions\r
        KeymapPtrList m_keymapPrefixHistory;            /// for &amp;KeymapPrevPrefix\r
@@ -594,6 +595,9 @@ public:
        /// sync\r
        bool syncNotify();\r
 \r
+       /// thread attach notify\r
+       bool threadAttachNotify(DWORD i_threadId);\r
+\r
        /// thread detach notify\r
        bool threadDetachNotify(DWORD i_threadId);\r
 \r