/** @file * @author Edouard DUPIN * @copyright 2016, Edouard DUPIN, all right reserved * @license GPL v3 (see license file) */ #pragma once #include #include namespace appl { class Windows; using WindowsShared = ememory::SharedPtr; using WindowsWeak = ememory::WeakPtr; class Windows : public ewol::widget::Windows { protected: Windows(); void init(); ewol::widget::ComposerShared m_composer; std::vector m_list; int32_t m_id; public: DECLARE_FACTORY(Windows); public: // callback functions void onCallbackPrevious(); void onCallbackPlay(const bool& _isPressed); void onCallbackNext(); void onCallbackFPS(const int32_t& _fps); void onCallbackPosition(const echrono::Duration& _time); void addFile(const std::string& _file); void onCallbackSeekRequest(const float& _value); }; }