//
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
-// Licensed under the Flora License, Version 1.0 (the License);
+// Licensed under the Flora License, Version 1.1 (the License);
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
* mutli-party or conference calls.
*
*/
-class CallInfo
+class AppCallInfo
: public Tizen::Base::Object
{
public:
public:
// Default Constructor.
- CallInfo(void);
- virtual ~CallInfo(void);
+ AppCallInfo(void);
+ virtual ~AppCallInfo(void);
//returns if a call is conference call or not
bool IsConferenceCall(void);
//Sets the end call cause
void SetEndCallCause(Tizen::Base::String& pEndCause);
//gets the caller list for a conference call
- Tizen::Base::Collection::IListT<CallInfo>* GetCallerList(void);
+ Tizen::Base::Collection::IListT<AppCallInfo>* GetCallerList(void);
//Adds a call to conference call list
- result AddCallToCallerList(CallInfo& callInfo);
+ result AddCallToCallerList(AppCallInfo& callInfo);
//removes a call from the conference call list
result RemoveCallFromCallerList(int index);
//returns the number of calls in conference
*
* @param[in] rhs A reference to the %CallInfo instance
*/
- bool operator ==(const CallInfo& rhs) const;
+ bool operator ==(const AppCallInfo& rhs) const;
/**
* This is the InEquality operator for this CallInfo.
*
* @param[in] rhs A reference to the %CallInfo instance
*/
- bool operator !=(const CallInfo& rhs) const;
+ bool operator !=(const AppCallInfo& rhs) const;
/**
* This is the assignment operator for this class.
* @param[in] rhs A reference to the %CallInfo instance
*/
- CallInfo& operator =(const CallInfo& rhs);
+ AppCallInfo& operator =(const AppCallInfo& rhs);
// this funtion fetches the contact person's name.
Tizen::Base::String* FetchCallerNameN(void);
Tizen::Base::String* __pEndCallCause;
//callHandles for individual callers in conf. calls
- Tizen::Base::Collection::ArrayListT<CallInfo>* __pParticipantCallHandles;
+ Tizen::Base::Collection::ArrayListT<AppCallInfo>* __pParticipantCallHandles;
//used to store previously fetched contact.
Tizen::Social::Contact* __pContact;
+ // having the address book here
+ Tizen::Social::Addressbook* __pAddressBook;
};
#endif // _PHN_CALL_INFO_H_