diff options
Diffstat (limited to 'src/plugger.h')
-rw-r--r-- | src/plugger.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugger.h b/src/plugger.h index aad8b9a..5899dcf 100644 --- a/src/plugger.h +++ b/src/plugger.h | |||
@@ -122,6 +122,13 @@ public: | |||
122 | return p; | 122 | return p; |
123 | } | 123 | } |
124 | 124 | ||
125 | bool hasPlugin( const char *lpName ) | ||
126 | { | ||
127 | if( hPlugin[lpName] == NULL ) | ||
128 | return false; | ||
129 | return true; | ||
130 | } | ||
131 | |||
125 | void destroy( T *pPlug ) | 132 | void destroy( T *pPlug ) |
126 | { | 133 | { |
127 | PluginReg *pReg = (PluginReg *)hObj[pPlug]; | 134 | PluginReg *pReg = (PluginReg *)hObj[pPlug]; |