[0.3.x] refactored

git-svn-id: https://pykd.svn.codeplex.com/svn@84082 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
SND\kernelnet_cp 2013-06-17 14:34:44 +00:00 committed by Mikhail I. Izmestev
parent 5dc822ab1b
commit 7373b0226b
5 changed files with 11 additions and 11 deletions

View File

@ -2,7 +2,7 @@
#include "kdlib\eventhandler.h" #include "kdlib\eventhandler.h"
#include "breakpoint.h" #include "eventhandler.h"
#include "dbgexcept.h" #include "dbgexcept.h"
namespace pykd { namespace pykd {

View File

@ -123,9 +123,9 @@
</Link> </Link>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="breakpoint.h" />
<ClInclude Include="dbgengine.h" /> <ClInclude Include="dbgengine.h" />
<ClInclude Include="dbgexcept.h" /> <ClInclude Include="dbgexcept.h" />
<ClInclude Include="eventhandler.h" />
<ClInclude Include="memaccess.h" /> <ClInclude Include="memaccess.h" />
<ClInclude Include="module.h" /> <ClInclude Include="module.h" />
<ClInclude Include="stdafx.h" /> <ClInclude Include="stdafx.h" />
@ -137,7 +137,6 @@
<ClInclude Include="windbgext.h" /> <ClInclude Include="windbgext.h" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="breakpoint.cpp" />
<ClCompile Include="dbgengine.cpp" /> <ClCompile Include="dbgengine.cpp" />
<ClCompile Include="dbgexcept.cpp" /> <ClCompile Include="dbgexcept.cpp" />
<ClCompile Include="dllmain.cpp"> <ClCompile Include="dllmain.cpp">
@ -151,6 +150,7 @@
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
</PrecompiledHeader> </PrecompiledHeader>
</ClCompile> </ClCompile>
<ClCompile Include="eventhandler.cpp" />
<ClCompile Include="pymod.cpp" /> <ClCompile Include="pymod.cpp" />
<ClCompile Include="stdafx.cpp"> <ClCompile Include="stdafx.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>

View File

@ -48,7 +48,7 @@
<ClInclude Include="dbgengine.h"> <ClInclude Include="dbgengine.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="breakpoint.h"> <ClInclude Include="eventhandler.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
</ItemGroup> </ItemGroup>
@ -71,7 +71,7 @@
<ClCompile Include="dbgengine.cpp"> <ClCompile Include="dbgengine.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="breakpoint.cpp"> <ClCompile Include="eventhandler.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>

View File

@ -12,7 +12,7 @@
#include "typeinfo.h" #include "typeinfo.h"
#include "typedvar.h" #include "typedvar.h"
#include "windbgext.h" #include "windbgext.h"
#include "breakpoint.h" #include "eventhandler.h"
using namespace pykd; using namespace pykd;
@ -634,11 +634,11 @@ BOOST_PYTHON_MODULE( pykd )
.value("NoDebuggee", kdlib::DebugStatusNoDebuggee ) .value("NoDebuggee", kdlib::DebugStatusNoDebuggee )
.export_values(); .export_values();
// python::class_<EventHandlerWrap, EventHandlerPtr, boost::noncopyable>( //python::class_<EventHandler, EventHandlerPtr, boost::noncopyable>(
// "eventHandler", "Base class for overriding and handling debug notifications" ) // "eventHandler", "Base class for overriding and handling debug notifications" )
// .def( "onBreakpoint", &EventHandlerWrap::OnBreakpoint, // .def( "onBreakpoint", &EventHandler::OnBreakpoint,
// "Triggered breakpoint event. Parameter is int: ID of breakpoint\n" // "Triggered breakpoint event. Parameter is int: ID of breakpoint\n"
// "For ignore event method must return eventResult.noChange" ) // "For ignore event method must return eventResult.noChange" )
// .def( "onModuleLoad", &EventHandlerWrap::OnModuleLoad, // .def( "onModuleLoad", &EventHandlerWrap::OnModuleLoad,
// "Triggered module load event. Parameter are long: module base, string: module name\n" // "Triggered module load event. Parameter are long: module base, string: module name\n"
// "For ignore event method must return eventResult.noChange" ) // "For ignore event method must return eventResult.noChange" )