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.
18 * @file FTel_CallForwardEventArg.h
19 * @brief This is the header file for _CallForwardEventArg class.
21 * This header file contains the declarations of _CallForwardEventArg class.
25 #ifndef _FTEL_INTERNAL_CALL_FORWARD_EVENT_ARG_H_
26 #define _FTEL_INTERNAL_CALL_FORWARD_EVENT_ARG_H_
29 #include <FBaseObject.h>
30 #include <FBaseDataType.h>
31 #include <FBaseString.h>
32 #include <FBaseRtIEventArg.h>
34 namespace Tizen { namespace Base { namespace Collection
39 namespace Tizen { namespace Telephony
42 enum _CallForwardEventType
44 _CALL_FORWARD_EVENT_NONE,
45 _CALL_FORWARD_EVENT_NUMBER_RECEIVED,
46 _CALL_FORWARD_EVENT_RESPONSE_RECEIVED,
47 _CALL_FORWARD_EVENT_STOPPED
52 * @class _CallForwardEventArg
53 * @brief This class is used as an argument of methods of the ITelephonyCallForwardListener class.
55 * This class is used as an argument of ITelephonyCallForwardListenerListener methods.
56 * When a CallManager event occurs, the _CallForwardingEvent object finds a ITelephonyCallForwardListenerListener object
57 * which is registered for the CallManager object and calls an appropriate method of the listener.
60 class _CallForwardEventArg
61 : public Tizen::Base::Object
62 , public Tizen::Base::Runtime::IEventArg
65 _CallForwardEventArg(void);
67 _CallForwardEventArg(_CallForwardEventType eventType, Tizen::Base::String phoneNumber, result r);
69 virtual ~_CallForwardEventArg(void);
71 result GetError(void) const;
73 _CallForwardEventType GetEventType(void) const;
75 Tizen::Base::String GetPhoneNumber(void) const;
78 _CallForwardEventArg(const _CallForwardEventArg& rhs);
79 _CallForwardEventArg& operator =(const _CallForwardEventArg& rhs);
83 _CallForwardEventType __eventType;
84 Tizen::Base::String __phoneNumber;
86 }; // _CallForwardEventArg
89 #endif // _FTEL_INTERNAL_CALL_FORWARD_EVENT_ARG_H_