Changeset 14356

Show
Ignore:
Timestamp:
06/21/08 22:42:27 (5 years ago)
Author:
saturday06
Message:

メッセージクラッカー追加。めでたくGPL汚染(゚∀゚)

Location:
lang/cplusplus/i3
Files:
4 added
5 modified

Legend:

Unmodified
Added
Removed
  • lang/cplusplus/i3/po/POTFILES.in

    r14345 r14356  
    22src/CompletionWindow.cpp 
    33src/CompletionWindow.h 
     4src/config.h 
    45src/Delegate.cpp 
    56src/Delegate.h 
     
    2324src/mol/include/mol/Thread.h 
    2425src/mol/include/mol/windows/Debug.h 
     26src/mol/include/mol/windows/DummyMessageHandler.h 
    2527src/mol/include/mol/windows/GuiModule.h 
     28src/mol/include/mol/windows/MessageCracker.h 
     29src/mol/include/mol/windows/MessageCrackerMacros.h 
    2630src/mol/include/mol/windows/Mol.h 
    2731src/mol/include/mol/windows/MscCrt.h 
  • lang/cplusplus/i3/po/ja.po

    r14345 r14356  
    33"Project-Id-Version: i3\n" 
    44"Report-Msgid-Bugs-To: dyob@lunaport.net\n" 
    5 "POT-Creation-Date: 2008-06-21 13:53+0900\n" 
     5"POT-Creation-Date: 2008-06-21 22:31+0900\n" 
    66"PO-Revision-Date: \n" 
    77"Last-Translator: Isamu Mogi <dyob@lunaport.net>\n" 
  • lang/cplusplus/i3/src/mol/include/mol/windows/GuiModule.h

    r14345 r14356  
    33#include "../Module.h" 
    44#include "WindowProcedureRedirector.h" 
     5 
     6#ifdef _MSC_VER 
     7// XXX 
     8#pragma warning (disable: 4100) 
     9#endif 
    510 
    611namespace mol 
     
    8489    } 
    8590 
     91    // ���b�Z�[�W�N���b�J�[�̃n���h���֐� 
     92    // Message Cracker Wizard for Win32 SDK Developers 
     93    // http://www.codeproject.com/KB/winsdk/msgcrackwizard.aspx 
     94#include "DummyMessageHandler.h" 
     95 
    8696    LRESULT MessageMap(UINT msg, WPARAM wParam, LPARAM lParam, bool& handled) { 
    8797        handled = false; 
    88         if (msg == mol::WM_MOL_GUIMODULE) 
    89         { 
    90             BOOST_STATIC_ASSERT(sizeof(void*) == sizeof(lParam)); 
     98        if (msg == mol::WM_MOL_GUIMODULE) { 
     99            BOOST_STATIC_ASSERT(sizeof(EventBase*) == sizeof(lParam)); 
    91100            EventBase* e = reinterpret_cast<EventBase*>(lParam); 
    92101            e->execute(e, &getChild()); 
    93102            handled = true; 
    94103            return 0; 
    95         } else if (msg == WM_DESTROY) { 
    96             PostQuitMessage(0); 
    97104        } 
     105 
     106        // cygwin��32api������č������b�Z�[�W�N���b�J�[ 
     107        // XXX ����itch������eturn���܂��I�I 
     108        HWND hwnd = getWindow(); 
     109        switch (msg) { 
     110#include "MessageCrackerMacros.h" 
     111#include "MessageCracker.h" 
     112        } 
     113 
    98114        return 0; 
    99115    } 
  • lang/cplusplus/i3/src/mol/include/mol/windows/PrecompiledHeaders.h

    r14174 r14356  
    99 
    1010#include <windows.h> 
     11#include <windowsx.h> 
    1112#include <commctrl.h> 
    1213#include <process.h> 
  • lang/cplusplus/i3/windows/Mol.vcproj

    r14319 r14356  
    408408                                </File> 
    409409                                <File 
     410                                        RelativePath="..\src\mol\include\mol\windows\DummyMessageHandler.h" 
     411                                        > 
     412                                </File> 
     413                                <File 
    410414                                        RelativePath="..\src\mol\include\mol\windows\GuiModule.h" 
     415                                        > 
     416                                </File> 
     417                                <File 
     418                                        RelativePath="..\src\mol\include\mol\windows\MessageCracker.h" 
     419                                        > 
     420                                </File> 
     421                                <File 
     422                                        RelativePath="..\src\mol\include\mol\windows\MessageCrackerMacros.h" 
    411423                                        > 
    412424                                </File>