/[debian]/mimetic/trunk/mimetic/message.h
ViewVC logotype

Diff of /mimetic/trunk/mimetic/message.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 510 by gregoa, Sat Feb 25 16:49:22 2006 UTC revision 511 by gregoa, Sun Jan 21 20:13:31 2007 UTC
# Line 2  Line 2 
2      copyright            : (C) 2002-2005 by Stefano Barbato      copyright            : (C) 2002-2005 by Stefano Barbato
3      email                : stefano@codesink.org      email                : stefano@codesink.org
4    
5      $Id: message.h,v 1.11 2005/03/07 15:35:08 tat Exp $      $Id: message.h,v 1.12 2006/10/09 13:38:30 tat Exp $
6   ***************************************************************************/   ***************************************************************************/
7    
8  /***************************************************************************  /***************************************************************************
# Line 108  struct MultipartDigest: public Multipart Line 108  struct MultipartDigest: public Multipart
108  };  };
109    
110    
111  /// application/octect-stream entity class  /// application/octet-stream entity class
112  struct ApplicationOctStream: public MimeEntity  struct ApplicationOctStream: public MimeEntity
113  {  {
114      ApplicationOctStream();      ApplicationOctStream();
# Line 129  protected: Line 129  protected:
129  struct Attachment: public MimeEntity  struct Attachment: public MimeEntity
130  {  {
131      /**      /**
132       * defaults to application/octect-stream       * defaults to application/octet-stream
133       */       */
134      Attachment(const std::string&);      Attachment(const std::string&);
135      Attachment(const std::string&, const ContentType&);      Attachment(const std::string&, const ContentType&);
# Line 189  private: Line 189  private:
189    
190    
191  /**  /**
192   * defaults to application/octect-stream   * defaults to application/octet-stream
193   */   */
194  template<typename Codec>  template<typename Codec>
195  Attachment::Attachment(const std::string& fqn, const Codec& codec)  Attachment::Attachment(const std::string& fqn, const Codec& codec)
196  {  {
197      set(fqn, ContentType("application","octect-stream"), codec);      set(fqn, ContentType("application","octet-stream"), codec);
198  }  }
199    
200  template<typename Codec>  template<typename Codec>

Legend:
Removed from v.510  
changed lines
  Added in v.511

  ViewVC Help
Powered by ViewVC 1.1.26