javaextensions/pim/common/inc.s60/mpimcontactadaptermanager.h
branchRCL_3
changeset 14 04becd199f91
equal deleted inserted replaced
13:f5050f1da672 14:04becd199f91
       
     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:  Contact adapter interface, provides access to a Contact list.
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MPIMCONTACTADAPTERMANAGER_H
       
    20 #define MPIMCONTACTADAPTERMANAGER_H
       
    21 
       
    22 //  FORWARD DECLARATIONS
       
    23 class MPIMContactListAdapter;
       
    24 class MPIMAdapterManager;
       
    25 
       
    26 // CLASS DECLARATION
       
    27 /**
       
    28  *  Provides access to a single contact list. See also \ref MPIMAdapterManager
       
    29  *  class description.
       
    30  */
       
    31 class MPIMContactAdapterManager
       
    32 {
       
    33 public:
       
    34     // Destructor
       
    35 
       
    36     /**
       
    37      * Destructor.
       
    38      */
       
    39     virtual ~MPIMContactAdapterManager()
       
    40     {
       
    41     }
       
    42 
       
    43 public:
       
    44     // New functions
       
    45 
       
    46     /**
       
    47      * Provides access to the \ref MPIMAdapterManager representation of
       
    48      * this object.
       
    49      *
       
    50      * @return The \ref MPIMAdapterManager representation of this object.
       
    51      */
       
    52     virtual MPIMAdapterManager* GetAdapterManager() = 0;
       
    53 
       
    54 protected:
       
    55     // Non-public operations
       
    56 
       
    57     // Allow derivation with protected default constructor.
       
    58     MPIMContactAdapterManager()
       
    59     {
       
    60     }
       
    61 
       
    62 private:
       
    63     // Prohibited operations
       
    64 
       
    65     // Prohibit copy constructor.
       
    66     MPIMContactAdapterManager(const MPIMContactAdapterManager&)
       
    67     {
       
    68     }
       
    69 
       
    70     // Prohibit assigment operator.
       
    71     MPIMContactAdapterManager& operator=(const MPIMContactAdapterManager&)
       
    72     {
       
    73         return *this;
       
    74     }
       
    75 
       
    76 };
       
    77 
       
    78 #endif // MPIMCONTACTADAPTERMANAGER_H
       
    79 // End of File