apengine/apeng/src/ApListItem.cpp
changeset 71 9f263f780e41
parent 70 ac5daea24fb0
child 72 0c32cf868819
equal deleted inserted replaced
70:ac5daea24fb0 71:9f263f780e41
     1 /*
       
     2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *     Declaration of the CApSelect class.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include <eikdef.h>
       
    22 
       
    23 #include "ApListItem.h"
       
    24 #include "ApEngineLogger.h"
       
    25 #include "ApEngineCommons.h"
       
    26 
       
    27 // LOCAL FUNCTION PROTOTYPES
       
    28 
       
    29 // ================= MEMBER FUNCTIONS =======================
       
    30 // Two-phased constructor.
       
    31 // ---------------------------------------------------------
       
    32 // CApListItem::NewLC
       
    33 // ---------------------------------------------------------
       
    34 //
       
    35 EXPORT_C CApListItem* CApListItem::NewLC()
       
    36     {
       
    37     return NULL;
       
    38     }
       
    39 
       
    40 
       
    41 // ---------------------------------------------------------
       
    42 // CApListItem::NewLC
       
    43 // ---------------------------------------------------------
       
    44 //
       
    45 EXPORT_C CApListItem* CApListItem::NewLC
       
    46                                         (
       
    47                                         TCommsDbIspType aIspType,
       
    48                                         TUint32 aUid,
       
    49                                         const TDesC& aName,
       
    50                                         TApBearerType aBearerType
       
    51                                         )
       
    52     {
       
    53     (void)aIspType;
       
    54     (void)aUid;
       
    55     (void)aName;
       
    56     (void)aBearerType;
       
    57     return NULL;
       
    58     }
       
    59 
       
    60 
       
    61 EXPORT_C CApListItem* CApListItem::NewLC
       
    62                                         (
       
    63                                         TCommsDbIspType aIspType,
       
    64                                         TUint32 aUid,
       
    65                                         const TDesC& aName,
       
    66                                         TApBearerType aBearerType,
       
    67                                         const TDesC& aStartPage,
       
    68                                         TBool aReadOnly
       
    69                                         )
       
    70     {
       
    71     (void)aIspType;
       
    72     (void)aUid;
       
    73     (void)aName;
       
    74     (void)aBearerType;
       
    75     (void)aStartPage;
       
    76     (void)aReadOnly;
       
    77     return NULL;
       
    78     }
       
    79 
       
    80 // ---------------------------------------------------------
       
    81 // CApListItem::NewLC
       
    82 // ---------------------------------------------------------
       
    83 //
       
    84 EXPORT_C CApListItem* CApListItem::NewLC( CApListItem* aItem )
       
    85     {
       
    86     (void)aItem;
       
    87     return NULL;
       
    88     }
       
    89 
       
    90 
       
    91 // Destructor
       
    92 // ---------------------------------------------------------
       
    93 // CApListItem::~CApListItem
       
    94 // ---------------------------------------------------------
       
    95 //
       
    96 EXPORT_C CApListItem::~CApListItem()
       
    97     {
       
    98     }
       
    99 
       
   100 
       
   101 
       
   102 // ---------------------------------------------------------
       
   103 // CApListItem::CopyFromL
       
   104 // ---------------------------------------------------------
       
   105 //
       
   106 EXPORT_C void CApListItem::CopyFromL( const CApListItem& aCopyFrom )
       
   107     {
       
   108     (void)aCopyFrom;
       
   109     }
       
   110 
       
   111 
       
   112 // C++ default constructor can NOT contain any code that
       
   113 // might leave.
       
   114 //
       
   115 // ---------------------------------------------------------
       
   116 // CApListItem::CApListItem
       
   117 // ---------------------------------------------------------
       
   118 //
       
   119 EXPORT_C CApListItem::CApListItem()
       
   120 :iIspType( EIspTypeInternetAndWAP ),
       
   121 iUid( 0 ),
       
   122 iBearerType( EApBearerTypeGPRS )
       
   123     {
       
   124     }
       
   125 
       
   126 
       
   127 // Symbian OS default constructor can leave.
       
   128 // ---------------------------------------------------------
       
   129 // CApListItem::ConstructL
       
   130 // ---------------------------------------------------------
       
   131 //
       
   132 EXPORT_C void CApListItem::ConstructL()
       
   133     {
       
   134     }
       
   135 
       
   136 
       
   137 // Symbian OS default constructor can leave.
       
   138 // ---------------------------------------------------------
       
   139 // CApListItem::ConstructL
       
   140 // ---------------------------------------------------------
       
   141 //
       
   142 EXPORT_C void CApListItem::ConstructL( TCommsDbIspType aIspType,
       
   143                                       TUint32 aUid,
       
   144                                       const TDesC& aName,
       
   145                                       TApBearerType aBearerType )
       
   146     {
       
   147     (void)aIspType;
       
   148     (void)aUid;
       
   149     (void)aName;
       
   150     (void)aBearerType;
       
   151     }
       
   152 
       
   153 
       
   154 
       
   155 // ---------------------------------------------------------
       
   156 // CApListItem::ConstructL
       
   157 // ---------------------------------------------------------
       
   158 //
       
   159 EXPORT_C void CApListItem::ConstructL( TCommsDbIspType aIspType,
       
   160                                       TUint32 aUid,
       
   161                                       const TDesC& aName,
       
   162                                       TApBearerType aBearerType,
       
   163                                       const TDesC& aStartPage
       
   164                                       )
       
   165     {
       
   166     (void)aIspType;
       
   167     (void)aUid;
       
   168     (void)aName;
       
   169     (void)aBearerType;
       
   170     (void)aStartPage;
       
   171     }
       
   172 
       
   173 
       
   174 // ---------------------------------------------------------
       
   175 // CApListItem::SetItemL
       
   176 // ---------------------------------------------------------
       
   177 //
       
   178 EXPORT_C void CApListItem::SetItemL( TCommsDbIspType aIspType,
       
   179                                     TUint32 aUid,
       
   180                                     const TDesC& aName,
       
   181                                     TApBearerType aBearerType )
       
   182     {
       
   183     (void)aIspType;
       
   184     (void)aUid;
       
   185     (void)aName;
       
   186     (void)aBearerType;
       
   187     }
       
   188 
       
   189 
       
   190 // ---------------------------------------------------------
       
   191 // CApListItem::SetItemL
       
   192 // ---------------------------------------------------------
       
   193 //
       
   194 EXPORT_C void CApListItem::SetItemL( TCommsDbIspType aIspType,
       
   195                                     TUint32 aUid,
       
   196                                     const TDesC& aName,
       
   197                                     TApBearerType aBearerType,
       
   198                                     const TDesC& aStartpage
       
   199                                     )
       
   200     {
       
   201     (void)aIspType;
       
   202     (void)aUid;
       
   203     (void)aName;
       
   204     (void)aBearerType;
       
   205     }
       
   206 
       
   207 
       
   208 // ---------------------------------------------------------
       
   209 // CApListItem::Name
       
   210 // ---------------------------------------------------------
       
   211 //
       
   212 EXPORT_C const TDesC& CApListItem::Name()
       
   213     {
       
   214     User::Leave( KErrNotSupported );
       
   215     }
       
   216 
       
   217 
       
   218 // ---------------------------------------------------------
       
   219 // CApListItem::Uid
       
   220 // ---------------------------------------------------------
       
   221 //
       
   222 EXPORT_C TUint32 CApListItem::Uid()
       
   223     {
       
   224     return 0;
       
   225     }
       
   226 
       
   227 
       
   228 // ---------------------------------------------------------
       
   229 // CApListItem::Type
       
   230 // ---------------------------------------------------------
       
   231 //
       
   232 EXPORT_C TCommsDbIspType CApListItem::Type()
       
   233     {
       
   234     User::Leave( KErrNotSupported );
       
   235     }
       
   236 
       
   237 
       
   238 
       
   239 // ---------------------------------------------------------
       
   240 // CApListItem::BearerType
       
   241 // ---------------------------------------------------------
       
   242 //
       
   243 EXPORT_C TApBearerType CApListItem::BearerType()
       
   244     {
       
   245     User::Leave( KErrNotSupported );
       
   246     }
       
   247 
       
   248 
       
   249 // ---------------------------------------------------------
       
   250 // CApListItem::StartPage
       
   251 // ---------------------------------------------------------
       
   252 //
       
   253 EXPORT_C const TDesC& CApListItem::StartPage() const
       
   254     {
       
   255     User::Leave( KErrNotSupported );
       
   256     }
       
   257 
       
   258 
       
   259 // ---------------------------------------------------------
       
   260 // CApListItem::IsReadOnly
       
   261 // ---------------------------------------------------------
       
   262 //
       
   263 EXPORT_C TBool CApListItem::IsReadOnly() const
       
   264     {
       
   265     return EFalse;
       
   266     }
       
   267 
       
   268 
       
   269 // ---------------------------------------------------------
       
   270 // CApListItem::IsVpnAp
       
   271 // ---------------------------------------------------------
       
   272 //
       
   273 TBool CApListItem::IsVpnAp() const
       
   274     {
       
   275     return EFalse;
       
   276     }
       
   277 
       
   278 
       
   279 // ---------------------------------------------------------
       
   280 // CApListItem::CreateExtraL
       
   281 // ---------------------------------------------------------
       
   282 //
       
   283 void CApListItem::CreateExtraL()
       
   284     {
       
   285     }
       
   286 
       
   287 
       
   288 // ---------------------------------------------------------
       
   289 // CApListItem::SetVpnFlag
       
   290 // ---------------------------------------------------------
       
   291 //
       
   292 void CApListItem::SetVpnFlag( TBool aIsVpn )
       
   293     {
       
   294     (void)aIsVpn;
       
   295     }
       
   296 
       
   297 //  End of File