imservices/imfeatureplugin/srcimdatamodel/imobjectfactoryimp.cpp
changeset 0 e6b17d312c8b
equal deleted inserted replaced
-1:000000000000 0:e6b17d312c8b
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Implementation of ImManagement
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 //#include "ximpstatusimp.h"
       
    20 //#include "ximprestrictedobjectcollectionimp.h"
       
    21 //#include "ximpobjectcollectionimp.h"
       
    22 //#include "ximpidentityimp.h"
       
    23 //#include "ximpdatasubscriptionstateimp.h"
       
    24 #include "imobjectfactoryimp.h"
       
    25 #include "imconversationinfoimp.h"
       
    26 
       
    27 
       
    28 // ============================ MEMBER FUNCTIONS =============================
       
    29 
       
    30 // ---------------------------------------------------------------------------
       
    31 // CImObjectFactoryImp::NewL()
       
    32 // ---------------------------------------------------------------------------
       
    33 //
       
    34 EXPORT_C CImObjectFactoryImp* CImObjectFactoryImp::NewL()
       
    35     {
       
    36     CImObjectFactoryImp* self = new( ELeave ) CImObjectFactoryImp;
       
    37     return self;
       
    38     
       
    39     }
       
    40 
       
    41 // ---------------------------------------------------------------------------
       
    42 // Implement supported interface access.
       
    43 // ---------------------------------------------------------------------------
       
    44 //
       
    45 XIMPIMP_IF_BASE_GET_INTERFACE_BEGIN( CImObjectFactoryImp, 
       
    46                                      MImObjectFactory )
       
    47 XIMPIMP_IF_BASE_GET_INTERFACE_END()
       
    48 
       
    49 
       
    50 XIMPIMP_IF_BASE_GET_CONST_INTERFACE_BEGIN( CImObjectFactoryImp, 
       
    51                                            MImObjectFactory )
       
    52 XIMPIMP_IF_BASE_GET_INTERFACE_END()
       
    53 
       
    54 // ---------------------------------------------------------------------------
       
    55 // CImObjectFactoryImp::~CImObjectFactoryImp()
       
    56 // ---------------------------------------------------------------------------
       
    57 //
       
    58 CImObjectFactoryImp::~CImObjectFactoryImp()
       
    59     {
       
    60     }
       
    61 
       
    62 
       
    63 // ---------------------------------------------------------------------------
       
    64 // CImObjectFactoryImp::CImObjectFactoryImp()
       
    65 // ---------------------------------------------------------------------------
       
    66 //
       
    67 CImObjectFactoryImp::CImObjectFactoryImp()
       
    68     {
       
    69     }
       
    70     
       
    71     
       
    72 // ---------------------------------------------------------------------------
       
    73 // CImObjectFactoryImp::NewImConversationInfoLC()
       
    74 // ---------------------------------------------------------------------------
       
    75 //
       
    76 MImConversationInfo* CImObjectFactoryImp::NewImConversationInfoLC()
       
    77     {
       
    78     return CImConversationInfoImp::NewLC();
       
    79     }
       
    80  // ---------------------------------------------------------------------------
       
    81 // CImObjectFactoryImp::NewImGroupInfoLC()
       
    82 // ---------------------------------------------------------------------------
       
    83 //
       
    84 //MImGroupInfo* CImObjectFactoryImp::NewImGroupInfoLC()
       
    85     //{
       
    86     //return CImConversationInfoImp::NewLC();
       
    87     //}
       
    88     
       
    89     
       
    90 // ---------------------------------------------------------------------------
       
    91 // CImObjectFactoryImp::NewImInvitationInfoLC()
       
    92 // ---------------------------------------------------------------------------
       
    93 //
       
    94 //MImInvitationInfo* CImObjectFactoryImp::NewImInvitationInfoLC()
       
    95     //{
       
    96     //return CImConversationInfoImp::NewLC();
       
    97     //}
       
    98     
       
    99  // ---------------------------------------------------------------------------
       
   100 // CImObjectFactoryImp::NewImSearchInfoLC()
       
   101 // ---------------------------------------------------------------------------
       
   102 //
       
   103 //MImSearchInfo* CImObjectFactoryImp::NewImSearchInfoLC()
       
   104     //{
       
   105     //return CImConversationInfoImp::NewLC();
       
   106     //}   
       
   107     
       
   108     
       
   109     
       
   110