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