2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Flora License, Version 1.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://floralicense.org/license/
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an AS IS BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
19 * @file FGrpIVideoTextureUpdateListener.h
20 * @brief This is the header file for the %IVideoTextureUpdateListener class.
22 * This header file contains the declarations of the %IVideoTextureUpdateListener class.
26 #ifndef _FGRP_IVIDEO_TEXTURE_UPDATE_LISTENER_H_
27 #define _FGRP_IVIDEO_TEXTURE_UPDATE_LISTENER_H_
29 namespace Tizen { namespace Graphics { namespace Opengl
35 * @class IVideoTextureUpdateListener
36 * @brief This virtual class defines the interface for VideoTexture to register a listener.
40 class _OSP_EXPORT_ IVideoTextureUpdateListener
44 * This polymorphic destructor should be overridden if required.
45 * This way, the destructors of the derived classes are called when the destructor of this interface is called.
49 virtual ~IVideoTextureUpdateListener(void) {}
52 * Called when a video frame on the texture is ready.
56 * @param[in] pVideoTexture The VideoTexture class.
58 virtual void OnTextureUpdated(VideoTexture* pVideoTexture) = 0;
62 // This method is for internal use only. Using this method can cause behavioral, security-related,
63 // and consistency-related issues in the application.
65 // This method is reserved and may change its name at any time without
70 virtual void IVideoTextureUpdateListener_Reserved1(void) {}
72 // This method is for internal use only. Using this method can cause behavioral, security-related,
73 // and consistency-related issues in the application.
75 // This method is reserved and may change its name at any time without
80 virtual void IVideoTextureUpdateListener_Reserved2(void) {}
82 // This method is for internal use only. Using this method can cause behavioral, security-related,
83 // and consistency-related issues in the application.
85 // This method is reserved and may change its name at any time without
90 virtual void IVideoTextureUpdateListener_Reserved3(void) {}
91 }; // IVideoTextureUpdateListener
93 }}} // Tizen::Graphics
95 #endif //_FGRP_IVIDEO_TEXTURE_UPDATE_LISTENER_H_