--- a/cmmanager/cmmgr/cmmserver/inc/cmmconnmethoditem.h Thu Jun 17 22:32:02 2010 +0100
+++ b/cmmanager/cmmgr/cmmserver/inc/cmmconnmethoditem.h Thu Jul 22 16:37:38 2010 +0100
@@ -34,7 +34,10 @@
TUint32 aId,
TUint32 aBearerType,
TUint aBearerPriority,
- TUint aPriority );
+ TUint aPriority,
+ TBool aIsVirtual = 0,
+ TUint32 aLinkedIapId = 0,
+ TUint32 aLinkedSnapId = 0 );
/**
* A comparison function. Uses priority since items are in priority order.
@@ -51,6 +54,30 @@
const TUint32* aKey,
const TCmmConnMethodItem& aEntry );
+ /**
+ * Return ETrue if this connection method item represents a virtual
+ * destination.
+ */
+ TBool IsVirtual() const;
+
+ /**
+ * Return ETrue if this connection method item represents an embedded
+ * destination.
+ */
+ TBool IsEmbedded() const;
+
+ /**
+ * If this is a virtual IAP that points to an IAP, returns the ID of that
+ * IAP, 0 otherwise.
+ */
+ TUint32 LinkedIapId() const;
+
+ /**
+ * If this is a virtual IAP that points to a SNAP, returns the ID of that
+ * SNAP, 0 otherwise.
+ */
+ TUint32 LinkedSnapId() const;
+
public:
// Connection method ID.
TUint32 iId;
@@ -62,8 +89,18 @@
TUint iBearerPriority;
// Priority value in the CCDDataMobilitySelectionPolicy-record. Only used
- // for sorting purposes when building an array ofTCmmConnMethodItem-objects.
+ // for sorting purposes when building an array of TCmmConnMethodItem-objects.
TUint iPriority;
+
+private:
+ // ETrue if this connection method is virtual.
+ TBool iIsVirtual;
+
+ // If not 0, this is a virtual IAP that points to IAP with ID iLinkedIapId.
+ TUint32 iLinkedIapId;
+
+ // If not 0, this is a virtual IAP that points to SNAP with ID iLinkedSnapId.
+ TUint32 iLinkedSnapId;
};
#endif // CMMCONNMETHODITEM_H_