00001 00002 #ifndef CLIENT_H 00003 #define CLIENT_H 00004 00005 #include <string> 00006 00007 #include <sys/types.h> 00008 00009 #include <mime/object.h> 00010 00011 namespace mime { 00012 00018 class client_interface { 00019 public: 00024 virtual void object_created(object* object) = 0; 00025 00029 virtual void data_start(object* obj) = 0; 00030 00035 virtual void data(object* obj, unsigned char *data, int len) = 0; 00036 00041 virtual void data_end(object* obj) = 0; 00042 }; 00043 00044 } 00045 00046 #endif 00047