From ec1a4f20eace44b6ffde4c1eacdecf3938942cd4 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 22 Aug 2006 05:52:45 +0000 Subject: Added a new helper to the plugger. --- src/plugger.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') 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: return p; } + bool hasPlugin( const char *lpName ) + { + if( hPlugin[lpName] == NULL ) + return false; + return true; + } + void destroy( T *pPlug ) { PluginReg *pReg = (PluginReg *)hObj[pPlug]; -- cgit v1.2.3