| Start/ | End/ | |||
| True | False | - | Line | Source |
| 1 | /* | |||
| 2 | * ============================================================================== | |||
| 3 | * Name : cvimpststoragemanagerfactory.cpp | |||
| 4 | * Part of : IMUiServiceTab / vimpststorage | |||
| 5 | * Description : Implementation of CVIMPSTStorageManagerFactory | |||
| 6 | * Version : %version: 3.1.2 % | |||
| 7 | * | |||
| 8 | * Copyright (c) 2008 Nokia Corporation. | |||
| 9 | * This material, including documentation and any related | |||
| 10 | * computer programs, is protected by copyright controlled by | |||
| 11 | * Nokia Corporation. All rights are reserved. Copying, | |||
| 12 | * including reproducing, storing, adapting or translating, any | |||
| 13 | * or all of this material requires the prior written consent of | |||
| 14 | * Nokia Corporation. This material also contains confidential | |||
| 15 | * information which may not be disclosed to others without the | |||
| 16 | * prior written consent of Nokia Corporation. | |||
| 17 | * ============================================================================== | |||
| 18 | */ | |||
| 19 | ||||
| 20 | ||||
| 21 | // INCLUDE FILES | |||
| 22 | #include "cvimpststoragemanagerfactory.h" | |||
| 23 | #include "s_vimpststoragecontact.h" | |||
| 24 | #include "MVIMPSTSTORAGECONTACT.H" | |||
| 25 | #include "s_vimpststorageserviceview.h" | |||
| 26 | #include "s_storageitemmodel.h" | |||
| 27 | ||||
| 28 | // ============================ MEMBER FUNCTIONS =============================== | |||
| 29 | ||||
| 30 | // ----------------------------------------------------------------------------- | |||
| 31 | // CVIMPSTStorageManagerFactory::InitialiseLibraryL | |||
| 32 | // Factory method that initialises the vimpststorage library | |||
| 33 | // used by CVIMPSTViewIdFactory | |||
| 34 | // ----------------------------------------------------------------------------- | |||
| 35 | // | |||
| 0 | 0 | - | 36 | EXPORT_C void CVIMPSTStorageManagerFactory::InitialiseLibraryL() |
| 37 | { | |||
| 38 | ||||
| 39 | } | |||
| 40 | ||||
| 41 | // ----------------------------------------------------------------------------- | |||
| 42 | // CVIMPSTStorageManagerFactory::Release | |||
| 43 | // Factory method to release the resource owned by the vimpststorage library | |||
| 44 | // ----------------------------------------------------------------------------- | |||
| 45 | // | |||
| 0 | 0 | - | 46 | EXPORT_C TInt CVIMPSTStorageManagerFactory::Release() |
| 47 | { | |||
| 48 | return 1; | |||
| 49 | } | |||
| 50 | ||||
| 51 | // ----------------------------------------------------------------------------- | |||
| 52 | // CVIMPSTStorageManager::InitialiseViewL() | |||
| 53 | // ----------------------------------------------------------------------------- | |||
| 54 | // | |||
| 76 | 76 | 55 | EXPORT_C void CVIMPSTStorageManagerFactory::InitialiseViewL( | |
| 56 | TUint32 aServiceId, | |||
| 57 | const TDesC& aStoreName, | |||
| 58 | const TDesC& aServiceName) | |||
| 59 | { | |||
| 60 | ||||
| 61 | } | |||
| 62 | ||||
| 63 | ||||
| 64 | // ----------------------------------------------------------------------------- | |||
| 65 | // CVIMPSTStorageManager::ContactListInterfaceL() | |||
| 66 | // ----------------------------------------------------------------------------- | |||
| 67 | // | |||
| 154 | 0 | 68 | EXPORT_C MVIMPSTStorageServiceView* CVIMPSTStorageManagerFactory::ContactListInterfaceL(TUint32 aServiceId) | |
| 69 | { | |||
| 70 | MVIMPSTStorageServiceView *contact = vimpstserviceview_stub::NewL(); | |||
| 71 | return contact ; | |||
| 72 | } | |||
| 73 | ||||
| 74 | // ----------------------------------------------------------------------------- | |||
| 75 | // CVIMPSTStorageManagerFactory::ItemModelInterfaceL | |||
| 76 | // ----------------------------------------------------------------------------- | |||
| 77 | // | |||
| 126 | 0 | 78 | EXPORT_C MVIMPSTStorageItemModel* CVIMPSTStorageManagerFactory::ItemModelInterfaceL( TUint32 aServiceId ) | |
| 79 | { | |||
| 80 | MVIMPSTStorageItemModel* model = vimpststorageitemlist_stub::NewL(); | |||
| 81 | return model; | |||
| 82 | } | |||
| 83 | ||||
| 84 | // End of File | |||
| ***TER 60% (3/5) of SOURCE FILE s_vimpststoragemanagerfactory.cpp | ||||