javaextensions/pim/framework/inc/pimbasemanager.h
changeset 21 2a9601315dfc
child 67 63b81d807542
equal deleted inserted replaced
18:e8e63152f320 21:2a9601315dfc
       
     1 /*
       
     2 * Copyright (c) 2008 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:  PIM manager singleton native side, a starting point to PIM API.
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef PIMBASEMANAGER_H
       
    20 #define PIMBASEMANAGER_H
       
    21 
       
    22 #include "pimcommon.h"
       
    23 
       
    24 class MPIMLocalizationManager;
       
    25 class pimbaselist;
       
    26 
       
    27 class pimbasemanager
       
    28 {
       
    29 public:
       
    30 
       
    31     virtual pimbasemanager::~pimbasemanager()
       
    32     {
       
    33     };
       
    34 
       
    35     virtual MPIMLocalizationManager* localizationManager() const = 0;
       
    36 
       
    37     virtual pimbaselist* openPimList(const TPIMListType& aPimListType,
       
    38                                      jstring aPimListName, JNIEnv* aJniEnv) = 0;
       
    39 
       
    40     virtual jobjectArray listPimLists(const TPIMListType& aPimListType,
       
    41                                       jintArray aError, JNIEnv* aJniEnv) = 0;
       
    42 
       
    43     virtual void dispose()= 0;
       
    44 
       
    45     static pimbasemanager* getInstance();
       
    46 };
       
    47 
       
    48 #endif // PIMBASEMANAGER_H