License and Privilege changes
[apps/osp/Call.git] / inc / CallInfo.h
index 41a0a86..db4efb3 100644 (file)
@@ -1,7 +1,7 @@
 //
 // 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
 //
@@ -33,7 +33,7 @@
  * mutli-party or conference calls.
  *
  */
-class CallInfo
+class AppCallInfo
        : public Tizen::Base::Object
 {
 public:
@@ -45,8 +45,8 @@ 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);
@@ -85,9 +85,9 @@ public:
        //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
@@ -102,7 +102,7 @@ public:
         *
         * @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.
@@ -110,13 +110,13 @@ public:
         *
         * @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);
@@ -151,10 +151,12 @@ private:
        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_