mmsharing/mmshavailability/inc/musavacapabilityquerybase.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
    42 
    42 
    43 const TInt KCapabilityQueryNotReady = 0;
    43 const TInt KCapabilityQueryNotReady = 0;
    44 const TInt KCapabilityCapabilitesReady = 1;
    44 const TInt KCapabilityCapabilitesReady = 1;
    45 const TInt KCapabilityCapabilitesNotFound = 2;
    45 const TInt KCapabilityCapabilitesNotFound = 2;
    46 const TInt KCapabilityCapabilitiesForbidden = 3;
    46 const TInt KCapabilityCapabilitiesForbidden = 3;
    47 
    47 const TInt KMaxRemoteUriLength = 512;
    48 
    48 
    49 /**
    49 /**
    50  * Sent capability query (OPTIONS)
    50  * Sent capability query (OPTIONS)
    51  *
    51  *
    52  * @lib AlwaysOnlineSwisPlugin.dll
    52  * @lib AlwaysOnlineSwisPlugin.dll
   111      * Returns the sdp content.
   111      * Returns the sdp content.
   112      *     
   112      *     
   113      */
   113      */
   114     HBufC8* ContentLC();
   114     HBufC8* ContentLC();
   115 
   115 
       
   116     /**
       
   117      * Check if Recipient address is same as that in profile.
       
   118      *     
       
   119      */
       
   120     TBool ValidateUri();
       
   121 
   116     
   122     
   117     
   123     
   118 public: // new functions
   124 public: // new functions
   119 
   125 
   120     /**
   126     /**
   212 private: // own data
   218 private: // own data
   213     
   219     
   214     CUri8* iRegisteredContact;
   220     CUri8* iRegisteredContact;
   215     CUri8* iOriginator;
   221     CUri8* iOriginator;
   216     CSIPClientTransaction* iTrx;
   222     CSIPClientTransaction* iTrx;
       
   223     TBuf8<KMaxRemoteUriLength> iRemoteUri;
   217     
   224     
   218 //for unit testing
   225 //for unit testing
   219     CAPABILITY_UT_DEFINITIONS
   226     CAPABILITY_UT_DEFINITIONS
   220     
   227     
       
   228 private:    // Friend classes
       
   229 
       
   230 #ifdef EUNIT_TEST
       
   231    friend class UT_CMusAvaCapabilityQuery;
       
   232    friend class UT_CMusAvaCapabilityQueryBase;
       
   233 #endif
       
   234     
   221     };
   235     };
   222 
   236 
   223 
   237 
   224 #endif // CMUSAVACAPABILITYQUERYBASE_H
   238 #endif // CMUSAVACAPABILITYQUERYBASE_H