1 // Aseprite Document Library
2 // Copyright (c) 2001-2015 David Capello
3 //
4 // This file is released under the terms of the MIT license.
5 // Read LICENSE.txt for more information.
6 
7 #ifndef DOC_HANDLE_ANIDIR_H_INCLUDED
8 #define DOC_HANDLE_ANIDIR_H_INCLUDED
9 #pragma once
10 
11 #include "doc/frame.h"
12 
13 namespace doc {
14 
15   class FrameTag;
16   class Sprite;
17 
18   frame_t calculate_next_frame(
19     const Sprite* sprite,
20     frame_t frame,
21     frame_t frameDelta,
22     const FrameTag* tag,
23     bool& pingPongForward);
24 
25 } // namespace doc
26 
27 #endif
28