apengine/apeng/src/ApProtHandler.cpp
changeset 70 ac5daea24fb0
equal deleted inserted replaced
61:8b0c979bbe8c 70:ac5daea24fb0
       
     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:  Declaration of the CApProtHandler class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include <cdbcols.h>
       
    21 #include <commdb.h>
       
    22 #include <ApEngineConsts.h>
       
    23 
       
    24 #include <comms-infras/commdb/protection/protectdb.h>
       
    25 #include <comms-infras/commdb/protection/protectcpdb.h>
       
    26 
       
    27 #include <ApProtHandler.h>
       
    28 #include <ApListItem.h>
       
    29 #include <ApListItemList.h>
       
    30 #include <ApDataHandler.h>
       
    31 #include <ApSelect.h>
       
    32 
       
    33 #include "ApEngineCommons.h"
       
    34 #include "APEngineVariant.hrh"
       
    35 #include "ApEngineLogger.h"
       
    36 
       
    37 // ================= MEMBER FUNCTIONS =======================
       
    38 
       
    39 // ---------------------------------------------------------
       
    40 // CApProtHandler::IsTableProtectedL
       
    41 // ---------------------------------------------------------
       
    42 //
       
    43 EXPORT_C TBool CApProtHandler::IsTableProtectedL( CCommsDatabase* aDb )
       
    44     {
       
    45     return EFalse;
       
    46     }
       
    47 
       
    48 
       
    49 // ---------------------------------------------------------
       
    50 // CApProtHandler::IsApProtectedL
       
    51 // ---------------------------------------------------------
       
    52 //
       
    53 EXPORT_C TBool CApProtHandler::IsApProtectedL( CCommsDatabase* aDb,
       
    54                                                      TUint32 aUid )
       
    55     {
       
    56     return EFalse;
       
    57     }
       
    58 
       
    59 
       
    60 // ---------------------------------------------------------
       
    61 // CApProtHandler::ProtectItemL
       
    62 // ---------------------------------------------------------
       
    63 //
       
    64 EXPORT_C void CApProtHandler::ProtectItemL( CCommsDatabase* aDb,
       
    65                                              TUint32 aUid )
       
    66     {
       
    67     }
       
    68 
       
    69 
       
    70 // ---------------------------------------------------------
       
    71 // CApProtHandler::UnprotectItemL
       
    72 // ---------------------------------------------------------
       
    73 //
       
    74 EXPORT_C void CApProtHandler::UnprotectItemL( CCommsDatabase* aDb,
       
    75                                                TUint32 aUid )
       
    76     {
       
    77     }
       
    78 
       
    79 
       
    80 
       
    81 // ---------------------------------------------------------
       
    82 // CApProtHandler::ProtectTableL
       
    83 // ---------------------------------------------------------
       
    84 //
       
    85 EXPORT_C void CApProtHandler::ProtectTableL( CCommsDatabase* aDb )
       
    86     {
       
    87     }
       
    88 
       
    89 
       
    90 // ---------------------------------------------------------
       
    91 // CApProtHandler::UnprotectTableL
       
    92 // ---------------------------------------------------------
       
    93 //
       
    94 EXPORT_C void CApProtHandler::UnprotectTableL( CCommsDatabase* aDb )
       
    95     {
       
    96     }
       
    97 
       
    98 
       
    99 // ---------------------------------------------------------
       
   100 // CApProtHandler::IsPreferencesProtectedL
       
   101 // ---------------------------------------------------------
       
   102 //
       
   103 EXPORT_C TBool CApProtHandler::IsPreferencesProtectedL( CCommsDatabase* aDb )
       
   104     {
       
   105     return EFalse;
       
   106     }
       
   107 
       
   108 
       
   109 // ---------------------------------------------------------
       
   110 // CApProtHandler::ProtectPreferencesL
       
   111 // ---------------------------------------------------------
       
   112 //
       
   113 EXPORT_C void CApProtHandler::ProtectPreferencesL( CCommsDatabase* aDb )
       
   114     {
       
   115     }
       
   116 
       
   117 
       
   118 
       
   119 // ---------------------------------------------------------
       
   120 // CApProtHandler::UnprotectPreferencesL
       
   121 // ---------------------------------------------------------
       
   122 //
       
   123 EXPORT_C void CApProtHandler::UnprotectPreferencesL( CCommsDatabase* aDb )
       
   124     {
       
   125     }
       
   126 
       
   127 
       
   128 
       
   129 // ---------------------------------------------------------
       
   130 // CApProtHandler::RemoveProtectedAccessPointsL
       
   131 // ---------------------------------------------------------
       
   132 //
       
   133 EXPORT_C void CApProtHandler::RemoveProtectedAccessPointsL(
       
   134                                           CCommsDatabase* aDb)
       
   135     {
       
   136     }
       
   137 
       
   138 // ================== OTHER MEMBER FUNCTIONS ===============
       
   139 
       
   140 
       
   141 
       
   142 
       
   143 
       
   144 // ---------------------------------------------------------
       
   145 // CApProtHandler::IsRecordProtectedL
       
   146 // ---------------------------------------------------------
       
   147 //
       
   148 TBool CApProtHandler::IsRecordProtectedL( CCommsDatabase* aDb,
       
   149                                             const TDesC& aTable,
       
   150                                             TUint32 aUid )
       
   151     {
       
   152     return EFalse;
       
   153     }
       
   154 
       
   155 
       
   156 
       
   157 // ---------------------------------------------------------
       
   158 // CApProtHandler::ProtectRecordL
       
   159 // ---------------------------------------------------------
       
   160 //
       
   161 void CApProtHandler::ProtectRecordL( CCommsDatabase* aDb,
       
   162                                     const TDesC& aTable, TUint32 aUid )
       
   163     {
       
   164     }
       
   165 
       
   166 
       
   167 
       
   168 // ---------------------------------------------------------
       
   169 // CApProtHandler::UnprotectRecordL
       
   170 // ---------------------------------------------------------
       
   171 //
       
   172 void CApProtHandler::UnprotectRecordL( CCommsDatabase* aDb,
       
   173                                       const TDesC& aTable, TUint32 aUid )
       
   174     {
       
   175     }
       
   176 
       
   177 
       
   178 
       
   179 
       
   180 // ---------------------------------------------------------
       
   181 // CApProtHandler::IsTableProtectedL
       
   182 // ---------------------------------------------------------
       
   183 //
       
   184 TBool CApProtHandler::IsTableProtectedL( CCommsDatabase* aDb,
       
   185                                                const TDesC& aTable )
       
   186     {
       
   187     return EFalse;
       
   188     }
       
   189 
       
   190 
       
   191 // ---------------------------------------------------------
       
   192 // CApProtHandler::ProtectTableL
       
   193 // ---------------------------------------------------------
       
   194 //
       
   195 void CApProtHandler::ProtectTableL( CCommsDatabase* aDb,
       
   196                                      const TDesC& aTable )
       
   197     {
       
   198     }
       
   199 
       
   200 
       
   201 
       
   202 // ---------------------------------------------------------
       
   203 // CApProtHandler::UnprotectTableL
       
   204 // ---------------------------------------------------------
       
   205 //
       
   206 void CApProtHandler::UnprotectTableL( CCommsDatabase* aDb,
       
   207                                        const TDesC& aTable )
       
   208     {
       
   209     }
       
   210 
       
   211 
       
   212 // ---------------------------------------------------------
       
   213 // CApProtHandler::GetProtectionStateL
       
   214 // ---------------------------------------------------------
       
   215 //
       
   216 TBool CApProtHandler::GetProtectionStateL( CCommsDbTableView& aTable )
       
   217     {
       
   218     return 0;
       
   219     }
       
   220 
       
   221 
       
   222 
       
   223 // ---------------------------------------------------------
       
   224 // CApProtHandler::DoRemoveProtectedAccessPointsL
       
   225 // ---------------------------------------------------------
       
   226 //
       
   227 void CApProtHandler::DoRemoveProtectedAccessPointsL(
       
   228                                           CCommsDatabase& aDb)
       
   229     {
       
   230     }
       
   231 
       
   232 
       
   233 //  End of File