Commit 95caced7 authored by Jean-Philippe André's avatar Jean-Philippe André

Extensions/Qt: new method ExtensionManager::getManager()

Returns a direct pointer to the extensions_manager_t
parent d6c60369
......@@ -63,6 +63,14 @@ public:
inline bool isUnloading() { return b_unloading; }
void menu( QMenu *current );
/** Get the extensions_manager_t if it is loaded and hold the object */
extensions_manager_t* getManager()
{
if( !p_extensions_manager ) return NULL;
vlc_object_hold( p_extensions_manager );
return p_extensions_manager;
}
public slots:
bool loadExtensions();
void unloadExtensions();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment