image/imgTools.h
author Emilio Cobos Álvarez <emilio@crisal.io>
Tue, 05 Feb 2019 19:47:29 +0000
changeset 515191 6b71e3d434c232998629b8e18a983212e9d3fc9d
parent 505383 6f3709b3878117466168c40affa7bca0b60cf75b
permissions -rw-r--r--
Bug 1525134 - Move image loads out of the style struct accessors. r=heycam After this I can pass the document from the caller to ResolveSameStructsAs, and get rid of the pres context pointer. Differential Revision: https://phabricator.services.mozilla.com/D18600

/* -*- 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 mozilla_image_imgITools_h
#define mozilla_image_imgITools_h

#include "imgITools.h"

#define NS_IMGTOOLS_CID                              \
  { /* 3d8fa16d-c9e1-4b50-bdef-2c7ae249967a */       \
    0x3d8fa16d, 0xc9e1, 0x4b50, {                    \
      0xbd, 0xef, 0x2c, 0x7a, 0xe2, 0x49, 0x96, 0x7a \
    }                                                \
  }

namespace mozilla {
namespace image {

class imgTools final : public imgITools {
 public:
  NS_DECL_ISUPPORTS
  NS_DECL_IMGITOOLS

  imgTools();

 private:
  virtual ~imgTools();
};

}  // namespace image
}  // namespace mozilla

#endif  // mozilla_image_imgITools_h