/* * Copyright 2017 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkFrameHolder_DEFINED #define SkFrameHolder_DEFINED #include "include/codec/SkCodec.h" #include "include/codec/SkCodecAnimation.h" #include "include/core/SkRect.h" #include "include/core/SkTypes.h" #include "include/private/SkEncodedInfo.h" #include "include/private/base/SkNoncopyable.h" /** * Base class for a single frame of an animated image. * * Separate from SkCodec::FrameInfo, which is a pared down * interface that only contains the info the client needs. */ class SkFrame : public SkNoncopyable { … }; /** * Base class for an object which holds the SkFrames of an * image sequence. */ class SkFrameHolder : public SkNoncopyable { … }; #endif // SkFrameHolder_DEFINED