-// ---------------------------------------------------------------------------
-// Some more info on a class
-
-typedef struct {
- wxClassInfo *class_info;
- wxString path;
-} wxClassLibInfo;
-
-// ---------------------------------------------------------------------------
-// Useful arrays
-
-WX_DEFINE_ARRAY(wxClassInfo *, wxArrayClassInfo);
-WX_DEFINE_ARRAY(wxClassLibInfo *, wxArrayClassLibInfo);
-
-// ---------------------------------------------------------------------------
-// wxClassLibrary
-
-class wxClassLibrary {
-protected:
- wxArrayClassLibInfo m_list;
-public:
- wxClassLibrary(void);
- ~wxClassLibrary(void);
-
- // Dynamic (un)register a (new) class in the database
- void RegisterClass(wxClassInfo *class_info, const wxString& path);
- void UnregisterClass(wxClassInfo *class_info);
-
- // Fetch all infos whose name matches the string (wildcards allowed)
- bool FetchInfos(const wxString& path, wxArrayClassLibInfo& infos);
-
- // Create all objects whose name matches the string (wildcards allowed)
- bool CreateObjects(const wxString& path, wxArrayClassInfo& objs);
-
- // Create one object using the EXACT name
- wxObject *CreateObject(const wxString& path);
-};