00001
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef PLUGINITEMS_H
00028 #define PLUGINITEMS_H
00029
00030 #include <wx/string.h>
00031 #include <wx/filename.h>
00032 #include <list>
00033
00035 class PluginItem
00036 {
00037 public:
00041 PluginItem(wxFileName filename);
00043 const bool IsAPIValid() const;
00045 const wxString GetCategory() const;
00047 const wxFileName GetFilename() const;
00049 const wxString GetName() const;
00051 const wxString GetDescription() const;
00052 private:
00053 void ParseMetadata();
00054 wxString m_category;
00055 wxString m_name;
00056 wxFileName m_filename;
00057 wxString m_description;
00058 bool m_validAPI;
00059 };
00060
00061 typedef std::list<PluginItem> PluginItems;
00063 bool comparePluginItem(PluginItem item1,PluginItem item2);
00064
00065 #endif // PLUGINITEMS_H