aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-08-22 05:52:45 +0000
committerMike Buland <eichlan@xagasoft.com>2006-08-22 05:52:45 +0000
commitec1a4f20eace44b6ffde4c1eacdecf3938942cd4 (patch)
tree3d89fe840279bc7575e8ebe0d0f6f10cef35eda4 /src
parent936367a1365d2ddc585dda79b7ced8d086313b45 (diff)
downloadlibbu++-ec1a4f20eace44b6ffde4c1eacdecf3938942cd4.tar.gz
libbu++-ec1a4f20eace44b6ffde4c1eacdecf3938942cd4.tar.bz2
libbu++-ec1a4f20eace44b6ffde4c1eacdecf3938942cd4.tar.xz
libbu++-ec1a4f20eace44b6ffde4c1eacdecf3938942cd4.zip
Added a new helper to the plugger.
Diffstat (limited to 'src')
-rw-r--r--src/plugger.h7
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];