LCOV - code coverage report
Current view: top level - widget/gtk - nsIImageToPixbuf.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* This Source Code Form is subject to the terms of the Mozilla Public
       2             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       3             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
       4             : 
       5             : #ifndef NSIIMAGETOPIXBUF_H_
       6             : #define NSIIMAGETOPIXBUF_H_
       7             : 
       8             : #include "nsISupports.h"
       9             : 
      10             : // dfa4ac93-83f2-4ab8-9b2a-0ff7022aebe2
      11             : #define NSIIMAGETOPIXBUF_IID \
      12             : { 0xdfa4ac93, 0x83f2, 0x4ab8, \
      13             :   { 0x9b, 0x2a, 0x0f, 0xf7, 0x02, 0x2a, 0xeb, 0xe2 } }
      14             : 
      15             : class imgIContainer;
      16             : typedef struct _GdkPixbuf GdkPixbuf;
      17             : 
      18             : /**
      19             :  * An interface that allows converting the current frame of an imgIContainer to a GdkPixbuf*.
      20             :  */
      21           0 : class nsIImageToPixbuf : public nsISupports {
      22             :     public:
      23             :         NS_DECLARE_STATIC_IID_ACCESSOR(NSIIMAGETOPIXBUF_IID)
      24             : 
      25             :         /**
      26             :          * The return value, if not null, should be released as needed
      27             :          * by the caller using g_object_unref.
      28             :          */
      29             :         NS_IMETHOD_(GdkPixbuf*) ConvertImageToPixbuf(imgIContainer* aImage) = 0;
      30             : };
      31             : 
      32             : NS_DEFINE_STATIC_IID_ACCESSOR(nsIImageToPixbuf, NSIIMAGETOPIXBUF_IID)
      33             : 
      34             : #endif

Generated by: LCOV version 1.13