image/imgTools.h
author Jed Davis <jld@mozilla.com>
Thu, 02 Aug 2018 14:18:01 -0600
changeset 430152 1e65391c7583a32fdefea325dc37b476cfbe2b5c
parent 260875 21e38aa30e1b6f18f2e9fbb6853043e13a9d5448
child 448947 6f3709b3878117466168c40affa7bca0b60cf75b
permissions -rw-r--r--
Bug 1480401 - Avoid heap-allocated closures in async signal safe part of LaunchApp. r=froydnj MozReview-Commit-ID: 4LYtBGbqtVh

/* -*- 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