SOAPAttachment.h

00001 // $Id: SOAPAttachment.h 21 2010-09-05 04:18:17Z cschwarz1 $
00002 
00003 #ifndef BASE_SOAP_SOAPATTACHMENT_H
00004 #define BASE_SOAP_SOAPATTACHMENT_H
00005 
00006 #include "libppbase/base/MemFile.h"
00007 
00008 namespace base_soap {
00010 
00014     class PPBASE_SOAP_EXPORT SOAPAttachment: public base::MemFile {
00015     public:
00017 
00023         SOAPAttachment(const base::String &id, const base::String &filename, const base::String &mimetype, size_t memlimit = 1048576);
00024 
00026 
00029         const base::String &getFileName() const;
00030 
00032 
00035         const base::String &getID() const;
00036 
00038 
00041         const base::String &getMimeType() const;
00042 
00043     private:
00044         base::String _filename;   
00045         base::String _id;         
00046         base::String _mimetype;   
00047     };
00048 }
00049 
00050 #endif