+// ---------------------------------------------------------------------------
+// wxDllLoader
+// ---------------------------------------------------------------------------
+
+ // Cross platform wrapper for dlopen and friends.
+ // There are no instances of this class, it simply
+ // serves as a namespace for its static member functions.
+
+#if WXWIN_COMPATIBILITY_2_2
+class WXDLLEXPORT wxDllLoader
+{
+public:
+
+ static wxDllType LoadLibrary(const wxString& name);
+ static void UnloadLibrary(wxDllType dll);
+
+ static wxDllType GetProgramHandle() { return wxDynamicLibrary::GetProgramHandle(); }
+
+ static void *GetSymbol(wxDllType dllHandle, const wxString &name, bool *success = 0);
+
+ static const wxString &GetDllExt() { return wxDynamicLibrary::GetDllExt(); }
+
+private:
+
+ wxDllLoader(); // forbid construction of objects
+};
+#endif
+
+