changeset 29 | 26b6f0522fd8 |
parent 24 | 84a16765cd86 |
child 42 | d17dc5398051 |
25:98b66e4fb0be | 29:26b6f0522fd8 |
---|---|
535 |
535 |
536 |
536 |
537 TInt CCatalogsAccessPointManager::AccessPointIdL( |
537 TInt CCatalogsAccessPointManager::AccessPointIdL( |
538 const TDesC& aNameSpace, |
538 const TDesC& aNameSpace, |
539 const MCatalogsAccessPointManager::TAction& aAction, |
539 const MCatalogsAccessPointManager::TAction& aAction, |
540 const TUid& aClientUid, |
540 const TUid& /* aClientUid */, |
541 TUint32& aAccessPointId ) |
541 TUint32& aAccessPointId ) |
542 { |
542 { |
543 DLTRACEIN((_L("Namespace: %S, Action: %d, clientUid: %d"), &aNameSpace, aAction, aClientUid.iUid)); |
543 DLTRACEIN((_L("Namespace: %S, Action: %d, clientUid: %d"), &aNameSpace, aAction, aClientUid.iUid)); |
544 |
544 |
545 CCatalogsAccessPoint* accessPoint( NULL ); |
545 CCatalogsAccessPoint* accessPoint( NULL ); |
563 |
563 |
564 TInt CCatalogsAccessPointManager::AccessPointIdL( |
564 TInt CCatalogsAccessPointManager::AccessPointIdL( |
565 const TDesC& aNameSpace, |
565 const TDesC& aNameSpace, |
566 const TDesC& aCatalogId, |
566 const TDesC& aCatalogId, |
567 const MCatalogsAccessPointManager::TAction& aAction, |
567 const MCatalogsAccessPointManager::TAction& aAction, |
568 const TUid& aClientUid, |
568 const TUid& /* aClientUid */, |
569 TUint32& aAccessPointId) |
569 TUint32& aAccessPointId) |
570 { |
570 { |
571 DLTRACEIN((_L("Namespace: %S, CatalogId: %S, Action: %d, clientUid: %d"), &aNameSpace, &aCatalogId, aAction, aClientUid.iUid)); |
571 DLTRACEIN((_L("Namespace: %S, CatalogId: %S, Action: %d, clientUid: %d"), &aNameSpace, &aCatalogId, aAction, aClientUid.iUid)); |
572 |
572 |
573 CCatalogsAccessPoint* accessPoint( NULL ); |
573 CCatalogsAccessPoint* accessPoint( NULL ); |
590 |
590 |
591 |
591 |
592 TInt CCatalogsAccessPointManager::AccessPointIdL( |
592 TInt CCatalogsAccessPointManager::AccessPointIdL( |
593 const CNcdNodeIdentifier& aNodeIdentifier, |
593 const CNcdNodeIdentifier& aNodeIdentifier, |
594 const MCatalogsAccessPointManager::TAction& aAction, |
594 const MCatalogsAccessPointManager::TAction& aAction, |
595 const TUid& aClientUid, |
595 const TUid& /* aClientUid */, |
596 TUint32& aAccessPointId) |
596 TUint32& aAccessPointId) |
597 { |
597 { |
598 DLTRACEIN((_L("Namespace: %S, NodeId: %S, Action: %d, clientUid: %d"), |
598 DLTRACEIN((_L("Namespace: %S, NodeId: %S, Action: %d, clientUid: %d"), |
599 &aNodeIdentifier.NodeNameSpace(), &aNodeIdentifier.NodeId(), aAction, |
599 &aNodeIdentifier.NodeNameSpace(), &aNodeIdentifier.NodeId(), aAction, |
600 aClientUid.iUid)); |
600 aClientUid.iUid)); |
714 |
714 |
715 return accessPoint; |
715 return accessPoint; |
716 } |
716 } |
717 |
717 |
718 |
718 |
719 TBool CCatalogsAccessPointManager::ValidateAccessPointL( CCatalogsAccessPoint* aAccessPoint ) |
719 TBool CCatalogsAccessPointManager::ValidateAccessPointL( CCatalogsAccessPoint* /* aAccessPoint */ ) |
720 { |
720 { |
721 DLTRACEIN(("")); |
721 DLTRACEIN(("")); |
722 |
722 |
723 #ifdef __WINS__ |
723 #ifdef __WINS__ |
724 // Comms database is not accessible in emulator. |
724 // Comms database is not accessible in emulator. |
776 #endif |
776 #endif |
777 |
777 |
778 return EFalse; |
778 return EFalse; |
779 } |
779 } |
780 |
780 |
781 TBool CCatalogsAccessPointManager::MatchInCommsDbL( const CCatalogsAccessPointSettings& aSettings, TUint32& aId ) |
781 TBool CCatalogsAccessPointManager::MatchInCommsDbL( const CCatalogsAccessPointSettings& /* aSettings */, TUint32& /* aId */) |
782 { |
782 { |
783 DLTRACEIN(_L("Checking comms DB for matching access point")); |
783 DLTRACEIN(_L("Checking comms DB for matching access point")); |
784 |
784 |
785 #ifdef __WINS__ |
785 #ifdef __WINS__ |
786 // Comms database is not accessible in emulator. |
786 // Comms database is not accessible in emulator. |
831 #endif |
831 #endif |
832 |
832 |
833 return EFalse; |
833 return EFalse; |
834 } |
834 } |
835 |
835 |
836 void CCatalogsAccessPointManager::CreateApToCommsDBL( const CCatalogsAccessPoint& aSettings, TUint32& aId ) |
836 void CCatalogsAccessPointManager::CreateApToCommsDBL( const CCatalogsAccessPoint& /* aSettings */, TUint32& /* aId */ ) |
837 { |
837 { |
838 DLTRACEIN(_L("Creating AP to comms DB")); |
838 DLTRACEIN(_L("Creating AP to comms DB")); |
839 |
839 |
840 #ifdef __WINS__ |
840 #ifdef __WINS__ |
841 // Comms database is not accessible in emulator. |
841 // Comms database is not accessible in emulator. |
998 |
998 |
999 delete iClientAccessPointData; |
999 delete iClientAccessPointData; |
1000 iClientAccessPointData = NULL; |
1000 iClientAccessPointData = NULL; |
1001 } |
1001 } |
1002 |
1002 |
1003 void CCatalogsAccessPointManager::RemoveApFromCommsDatabaseL( const TUint32& aId ) |
1003 void CCatalogsAccessPointManager::RemoveApFromCommsDatabaseL( const TUint32& /* aId */ ) |
1004 { |
1004 { |
1005 |
1005 |
1006 #ifdef _0 |
1006 #ifdef _0 |
1007 CCommsDatabase *commdb = CCommsDatabase::NewL( EDatabaseTypeIAP ); |
1007 CCommsDatabase *commdb = CCommsDatabase::NewL( EDatabaseTypeIAP ); |
1008 CleanupStack::PushL( commdb ); |
1008 CleanupStack::PushL( commdb ); |
1211 return ETrue; |
1211 return ETrue; |
1212 } |
1212 } |
1213 #endif |
1213 #endif |
1214 |
1214 |
1215 void CCatalogsAccessPointManager::SetApDetailL( |
1215 void CCatalogsAccessPointManager::SetApDetailL( |
1216 CCatalogsAccessPoint& aAp, const TDesC& aKey, const TDesC& aValue ) |
1216 CCatalogsAccessPoint& /* aAp */, const TDesC& /* aKey */, const TDesC& /* aValue */ ) |
1217 { |
1217 { |
1218 |
1218 |
1219 #ifdef _0 |
1219 #ifdef _0 |
1220 DLTRACEIN(("")); |
1220 DLTRACEIN(("")); |
1221 TBool value = EFalse; |
1221 TBool value = EFalse; |