2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.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://www.apache.org/licenses/LICENSE-2.0/
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 interface.
22 * This header file contains the declarations of the %IVideoTextureUpdateListener interface.
26 #ifndef _FGRP_IVIDEO_TEXTURE_UPDATE_LISTENER_H_
27 #define _FGRP_IVIDEO_TEXTURE_UPDATE_LISTENER_H_
29 namespace Tizen { namespace Graphics { namespace Opengl
35 * @interface IVideoTextureUpdateListener
36 * @brief This interface is used to register a listener for the %VideoTexture class.
40 * The %IVideoTextureUpdateListener interface is used to register a listener for the VideoTexture class.
42 class _OSP_EXPORT_ IVideoTextureUpdateListener
46 * This polymorphic destructor should be overridden if required.
47 * This way, the destructors of the derived classes are called when the destructor of this interface is called.
51 virtual ~IVideoTextureUpdateListener(void) {}
54 * Called when a video frame on the texture is ready.
58 * @param[in] pVideoTexture The VideoTexture class
60 virtual void OnTextureUpdated(VideoTexture* pVideoTexture) = 0;
64 // This method is for internal use only. Using this method can cause behavioral, security-related,
65 // and consistency-related issues in the application.
67 // This method is reserved and may change its name at any time without
72 virtual void IVideoTextureUpdateListener_Reserved1(void) {}
74 // This method is for internal use only. Using this method can cause behavioral, security-related,
75 // and consistency-related issues in the application.
77 // This method is reserved and may change its name at any time without
82 virtual void IVideoTextureUpdateListener_Reserved2(void) {}
84 // This method is for internal use only. Using this method can cause behavioral, security-related,
85 // and consistency-related issues in the application.
87 // This method is reserved and may change its name at any time without
92 virtual void IVideoTextureUpdateListener_Reserved3(void) {}
93 }; // IVideoTextureUpdateListener
95 }}} // Tizen::Graphics
97 #endif //_FGRP_IVIDEO_TEXTURE_UPDATE_LISTENER_H_