1 // MIMEManager.h 2 3 #ifndef MIME_MANAGER_H 4 #define MIME_MANAGER_H 5 6 #include <Looper.h> 7 #include <mime/Database.h> 8 #include <RegistrarThreadManager.h> 9 10 class MIMEManager : public BLooper { 11 public: 12 MIMEManager(); 13 virtual ~MIMEManager(); 14 15 virtual void MessageReceived(BMessage *message); 16 private: 17 void HandleSetParam(BMessage *message); 18 void HandleDeleteParam(BMessage *message); 19 20 BPrivate::Storage::Mime::Database fDatabase; 21 RegistrarThreadManager fThreadManager; 22 BMessenger fManagerMessenger; 23 }; 24 25 #endif // MIME_MANAGER_H 26