1ec3ed6a5ebf6f2c406d7bcf94b6bc34fcaeb976eepoger@google.com
2ec3ed6a5ebf6f2c406d7bcf94b6bc34fcaeb976eepoger@google.com/*
3ec3ed6a5ebf6f2c406d7bcf94b6bc34fcaeb976eepoger@google.com * Copyright 2006 The Android Open Source Project
4ec3ed6a5ebf6f2c406d7bcf94b6bc34fcaeb976eepoger@google.com *
5ec3ed6a5ebf6f2c406d7bcf94b6bc34fcaeb976eepoger@google.com * Use of this source code is governed by a BSD-style license that can be
6ec3ed6a5ebf6f2c406d7bcf94b6bc34fcaeb976eepoger@google.com * found in the LICENSE file.
7ec3ed6a5ebf6f2c406d7bcf94b6bc34fcaeb976eepoger@google.com */
8ec3ed6a5ebf6f2c406d7bcf94b6bc34fcaeb976eepoger@google.com
98a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com
108a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com#ifndef SkSnapShot_DEFINED
118a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com#define SkSnapShot_DEFINED
128a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com
138a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com#include "SkDrawable.h"
148a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com#include "SkImageDecoder.h"
158a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com#include "SkMemberInfo.h"
168a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com#include "SkString.h"
178a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com
188a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.comclass SkSnapshot: public SkDrawable {
198a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com    DECLARE_MEMBER_INFO(Snapshot);
208a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com    SkSnapshot();
218a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com    virtual bool draw(SkAnimateMaker& );
228a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com    private:
238a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com    SkString filename;
248a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com    SkScalar quality;
258a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com    SkBool sequence;
268a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com    int /*SkImageEncoder::Type*/    type;
278a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com    int fSeqVal;
288a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com};
298a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com
308a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com#endif // SkSnapShot_DEFINED
31