phonebookui/phonebookservices/src/cntservicemainwindow.cpp
changeset 24 0ba2181d7c28
child 27 de1630741fbe
equal deleted inserted replaced
0:e686773b3f54 24:0ba2181d7c28
       
     1 /*
       
     2 * Copyright (c) 2009 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:
       
    15 *
       
    16 */
       
    17 
       
    18 #include "cntservicemainwindow.h"
       
    19 #include "cntservicehandler.h"
       
    20 #include "cntserviceviewmanager.h"
       
    21 
       
    22 CntServiceMainWindow::CntServiceMainWindow(CntServiceHandler *handler, QWidget *parent):
       
    23     CntMainWindow(parent,CntViewParameters::noView),
       
    24     mServiceHandler(handler),
       
    25     mServiceViewManager(0)
       
    26 {   
       
    27     mServiceViewManager = new CntServiceViewManager(this, CntViewParameters::noView, mServiceHandler);
       
    28 }
       
    29 
       
    30 CntServiceMainWindow::~CntServiceMainWindow()
       
    31 {
       
    32     delete mServiceViewManager;
       
    33     mServiceViewManager = 0;
       
    34     delete mServiceHandler;
       
    35     mServiceHandler = 0;
       
    36 }
       
    37 
       
    38 // end of file