mailnews/import/src/nsImportEmbeddedImageData.h
author Patrick Cloke <clokep@gmail.com>
Thu, 16 Oct 2014 18:05:41 -0400
changeset 20883 56fe4fac57d0916883a373cb7640681631ee0fe0
parent 20461 21e13ac2fe1f124fd027a0b1b111c6b04154f443
child 21963 8e04fe92bd1f3c0c00cb83d41954bb297c1b4b08
permissions -rw-r--r--
Backout part of 2f79b0b939ed that's unrelated. a=Standard8

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef __IMPORTEMBEDDEDIMAGETDATA_H__
#define __IMPORTEMBEDDEDIMAGETDATA_H__

#include "nsIMsgSend.h"
#include "nsStringGlue.h"
#include "nsCOMPtr.h"
#include "nsIURI.h"

class nsImportEmbeddedImageData MOZ_FINAL : public nsIMsgEmbeddedImageData
{
public:
  nsImportEmbeddedImageData(nsIURI *aUri, const nsACString &aCID);
  nsImportEmbeddedImageData(nsIURI *aUri, const nsACString &aCID, const nsACString &aName);
  nsImportEmbeddedImageData();
  NS_DECL_NSIMSGEMBEDDEDIMAGEDATA
  NS_DECL_ISUPPORTS

  nsCOMPtr<nsIURI> m_uri;
  nsCString m_cid;
  nsCString m_name;

private:
  ~nsImportEmbeddedImageData();
};


#endif