cmmanager/cmmgr/cmmserver/inc/cmmconnmethodinstance.h
changeset 27 489cf6208544
parent 23 7ec726f93df1
child 40 c5b848e6c7d1
equal deleted inserted replaced
23:7ec726f93df1 27:489cf6208544
    67      */
    67      */
    68     void ConstructL();
    68     void ConstructL();
    69 
    69 
    70 public:
    70 public:
    71     /**
    71     /**
    72      * Set the plugin base pointer.
       
    73      */
       
    74     void SetPlugin( CCmPluginBaseEng* aPlugin );
       
    75 
       
    76     /**
       
    77      * Get the plugin base pointer.
       
    78      */
       
    79     CCmPluginBaseEng* GetPlugin() const;
       
    80 
       
    81     /**
       
    82      * Get connection method ID.
    72      * Get connection method ID.
    83      */
    73      */
    84     TUint32 GetId() const;
    74     TUint32 GetId() const;
    85 
    75 
    86     /**
    76     /**
    90 
    80 
    91     /**
    81     /**
    92      * Return bearer type.
    82      * Return bearer type.
    93      */
    83      */
    94     TUint32 GetBearerType() const;
    84     TUint32 GetBearerType() const;
    95 
       
    96     /**
       
    97      * Set bearer type.
       
    98      */
       
    99     void SetBearerType( const TUint32& aBearerType );
       
   100 
    85 
   101     /**
    86     /**
   102      * Get handle ID.
    87      * Get handle ID.
   103      */
    88      */
   104     TInt GetHandle() const;
    89     TInt GetHandle() const;
   169      * @param aAttribute Identifies the attribute to be set.
   154      * @param aAttribute Identifies the attribute to be set.
   170      * @param aValue The value to be set.
   155      * @param aValue The value to be set.
   171      * @return None
   156      * @return None
   172      */
   157      */
   173     void SetIntAttributeL(
   158     void SetIntAttributeL(
   174         const TUint32& aAttribute,
   159             const TUint32& aAttribute,
   175         const TUint32& aValue );
   160             const TUint32& aValue );
   176 
   161 
   177     /**
   162     /**
   178      * Sets the integer value identified by aAttribute.
   163      * Sets the integer value identified by aAttribute.
   179      * @param aAttribute Identifies the attribute to be set.
   164      * @param aAttribute Identifies the attribute to be set.
   180      * @param aValue The value to be set.
   165      * @param aValue The value to be set.
   181      * @return None
   166      * @return None
   182      */
   167      */
   183     void SetBoolAttributeL(
   168     void SetBoolAttributeL(
   184         const TUint32& aAttribute,
   169             const TUint32& aAttribute,
   185         const TBool& aValue );
   170             const TBool& aValue );
   186 
   171 
   187     /**
   172     /**
   188      * Sets the 16 bit string value identified by aAttribute.
   173      * Sets the 16 bit string value identified by aAttribute.
   189      * @param aAttribute Identifies the attribute to be set.
   174      * @param aAttribute Identifies the attribute to be set.
   190      * @param aValue The value to be set.
   175      * @param aValue The value to be set.
   191      * @return None
   176      * @return None
   192      */
   177      */
   193     void SetStringAttributeL(
   178     void SetStringAttributeL(
   194         const TUint32& aAttribute,
   179             const TUint32& aAttribute,
   195         const TDesC16& aValue );
   180             const TDesC16& aValue );
   196 
   181 
   197     /**
   182     /**
   198      * Sets the 8 bit string value identified by aAttribute.
   183      * Sets the 8 bit string value identified by aAttribute.
   199      * @param aAttribute Identifies the attribute to be set.
   184      * @param aAttribute Identifies the attribute to be set.
   200      * @param aValue The value to be set.
   185      * @param aValue The value to be set.
   201      * @return None
   186      * @return None
   202      */
   187      */
   203     void SetString8AttributeL(
   188     void SetString8AttributeL(
   204         const TUint32& aAttribute,
   189             const TUint32& aAttribute,
   205         const TDesC8& aValue );
   190             const TDesC8& aValue );
   206 
       
   207     /**
       
   208      * Gets the current status of this connection method instance.
       
   209      */
       
   210     TCmmConnMethodStatus GetStatus() const;
       
   211 
   191 
   212     /**
   192     /**
   213      * Sets a new status value.
   193      * Sets a new status value.
   214      */
   194      */
   215     void SetStatus( const TCmmConnMethodStatus& aStatus );
   195     void SetStatus( const TCmmConnMethodStatus& aStatus );