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_CameraRefHelper.h
21 * This header file contains the declarations of the %_CameraRefHelper class.
24 #ifndef _FMEDIA_INTERNAL_CAMERA_REF_HELPER_H_
25 #define _FMEDIA_INTERNAL_CAMERA_REF_HELPER_H_
27 #include <FBaseObject.h>
29 namespace Tizen { namespace Media
33 * @class _CameraRefHelper
34 * @brief This class implements the _CameraRefHelper class.
37 class _CameraRefHelper
38 : public Tizen::Base::Object
42 * Increments the reference count by one.
44 int AddRefCount(void);
47 * Decrements the reference count by one.
49 * @return The reference count after decrement
51 int ReleaseRefCount(void);
55 * This is the default constructor for this class.
57 _CameraRefHelper(void);
60 * This is the destructor for this class. @n
62 virtual ~_CameraRefHelper(void);