/** @file * @author Edouard DUPIN * @copyright 2011, Edouard DUPIN, all right reserved * @license MPL v2.0 (see license file) */ #pragma once #include #include #include #include #include namespace appl { namespace widget { class Player; using PlayerShared = ememory::SharedPtr; using PlayerWeak = ememory::WeakPtr; class Player : public ewol::widget::Composer { public: // properties public: // signals protected: Player(); void init() override; public: DECLARE_WIDGET_FACTORY(Player, "Player"); virtual ~Player(); public: void onGetFocus() override; private: // callback functions: void onCallbackButtonPrevious(); void onCallbackButtonNext(); void onCallbackButtonPlay(const bool& _value); }; }; };