| 1 | // Aseprite | 
|---|
| 2 | // Copyright (C) 2019  Igara Studio S.A. | 
|---|
| 3 | // Copyright (C) 2001-2015  David Capello | 
|---|
| 4 | // | 
|---|
| 5 | // This program is distributed under the terms of | 
|---|
| 6 | // the End-User License Agreement for Aseprite. | 
|---|
| 7 |  | 
|---|
| 8 | #ifndef APP_FILE_FORMAT_OPTIONS_H_INCLUDED | 
|---|
| 9 | #define APP_FILE_FORMAT_OPTIONS_H_INCLUDED | 
|---|
| 10 | #pragma once | 
|---|
| 11 |  | 
|---|
| 12 | #include <memory> | 
|---|
| 13 |  | 
|---|
| 14 | namespace app { | 
|---|
| 15 |  | 
|---|
| 16 | // Extra options loaded from a file that can be useful to save the | 
|---|
| 17 | // file later in the same loaded format (e.g. same color depth, same | 
|---|
| 18 | // jpeg quality, etc.). | 
|---|
| 19 | class FormatOptions { | 
|---|
| 20 | public: | 
|---|
| 21 | virtual ~FormatOptions() { } | 
|---|
| 22 | }; | 
|---|
| 23 |  | 
|---|
| 24 | typedef std::shared_ptr<FormatOptions> FormatOptionsPtr; | 
|---|
| 25 |  | 
|---|
| 26 | } // namespace app | 
|---|
| 27 |  | 
|---|
| 28 | #endif | 
|---|
| 29 |  | 
|---|