summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/Plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/Src/Plugin.cpp')
-rw-r--r--Source/Core/Common/Src/Plugin.cpp29
1 files changed, 18 insertions, 11 deletions
diff --git a/Source/Core/Common/Src/Plugin.cpp b/Source/Core/Common/Src/Plugin.cpp
index 24aa5bd8f4..15bd184bcf 100644
--- a/Source/Core/Common/Src/Plugin.cpp
+++ b/Source/Core/Common/Src/Plugin.cpp
@@ -70,25 +70,32 @@ void *CPlugin::LoadSymbol(const char *sym) {
return m_hInstLib.Get(sym);
}
+
+// ______________________________________________________________________________________
+// GetInfo: Get DLL info
bool CPlugin::GetInfo(PLUGIN_INFO& _pluginInfo) {
- if (m_GetDllInfo != 0) {
- m_GetDllInfo(&_pluginInfo);
- return(true);
+ if (m_GetDllInfo != 0)
+ {
+ m_GetDllInfo(&_pluginInfo);
+ return(true);
}
return(false);
}
-
-void CPlugin::Config(HWND _hwnd) {
- if (m_DllConfig != 0)
- m_DllConfig(_hwnd);
-
+// ______________________________________________________________________________________
+// Config: Open the Config window
+void CPlugin::Config(HWND _hwnd)
+{
+ if (m_DllConfig != 0) m_DllConfig(_hwnd);
}
-void CPlugin::Debug(HWND _hwnd, bool Show) {
- if (m_DllDebugger != 0)
- m_DllDebugger(_hwnd, Show);
+
+// ______________________________________________________________________________________
+// Debug: Open the Debugging window
+void CPlugin::Debug(HWND _hwnd, bool Show)
+{
+ if (m_DllDebugger != 0) m_DllDebugger(_hwnd, Show);
}