2 // Open Service Platform
3 // Copyright (c) 2012 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 FMedia_ICameraCoordinatorListener.h
20 * @brief This is the header file for the %_ICameraCoordinatorListener interface.
22 * This header file contains the declarations of the %_ICameraCoordinatorListener interface.
25 #ifndef _FMEDIA_INTERNAL_CAMERA_COORDINATOR_LISTENER_H
26 #define _FMEDIA_INTERNAL_CAMERA_COORDINATOR_LISTENER_H
28 #include "FMedia_CameraTypes.h"
30 namespace Tizen { namespace Media
34 * @interface _ICameraCoordinatorListener
35 * @brief This interface provides a listener that receives callbacks associated with the %_CameraCoordinator class.
37 class _ICameraCoordinatorListener
41 * This polymorphic destructor should be overridden if required. This way, the destructors of the derived classes are called when the destructor@n
42 * of this interface is called.
45 virtual ~_ICameraCoordinatorListener(void) {}
48 * Called when the mode is prepared to change.
50 * @return An error code
51 * @param[in] mode camera mode
53 virtual result OnCameraCoordinatorModeChangePrepared(_CameraMode mode) = 0;
56 * Called when the mode is changed.
58 * @return An error code
59 * @param[in] mode camera mode
61 virtual result OnCameraCoordinatorModeChanged(_CameraMode mode) = 0;
64 * Called when the other module is removed
66 * @return An error code
68 virtual result OnCameraCoordinatorOtherRemoved(void) = 0;