class TPIHandle
{
public:
+ TPIHandle(void);
~TPIHandle(void);
- int GetPluginInformation(unsigned int, wxULongLong, void *);
bool InitLibrary(const wxString &, const wxString &, wxULongLong);
bool FreeLibrary(void);
- int CheckArchive(const wxString &, int *);
- int OpenArchive(const wxString &);
- int CloseArchive(void);
- int GetFileInformation(TPI_FILEINFO *, bool);
- int GetArchiveInformation(TPI_ARCHIVEINFO *);
+ bool GetPluginInformation(unsigned int, wxULongLong, void *);
+ bool GetFormatInformation(TPI_FORMATINFO *, bool);
- int Command(unsigned int, TPI_SWITCHES *, const wxString &, const wxArrayString &);
+ bool CheckArchive(const wxString &, int *);
+ bool OpenArchive(const wxString &);
+ bool CloseArchive(void);
+ bool GetFileInformation(TPI_FILEINFO *, bool);
+ bool GetArchiveInformation(TPI_ARCHIVEINFO *);
+
+ bool Command(unsigned int, TPI_SWITCHES *, const wxString &, const wxArrayString &);
+
+ bool SetCallbackProc(TPI_PROC);
+
+ int nErrorCode;
- int SetCallbackProc(TPI_PROC);
private:
wxDynamicLibrary lib;
void * archive;