homescreenapp/stateplugins/hsmenuworkerstateplugin/tsrc/t_hsmenuworkerstateplugin/src/t_hscontentservice.cpp
changeset 90 3ac3aaebaee5
child 97 66b5fe3c07fd
equal deleted inserted replaced
86:e4f038c420f7 90:3ac3aaebaee5
       
     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 #include "t_hscontentservice.h"
       
    18 
       
    19 HsContentService::HsContentService(QObject *parent): QObject(parent) {}
       
    20 
       
    21 HsContentService::~HsContentService() {}
       
    22 
       
    23 HsContentService *HsContentService::instance() {
       
    24     static HsContentService service;
       
    25     return &service;
       
    26 }
       
    27 bool HsContentService::createWidget(const QVariantHash &params)
       
    28 {
       
    29     mParams = params;
       
    30     return true;
       
    31 }
       
    32 
       
    33 HsWidgetHost *HsContentService::createWidgetForPreview(const QVariantHash &params)
       
    34 {
       
    35     Q_UNUSED(params);
       
    36     return 0;
       
    37 }
       
    38