homescreenapp/serviceproviders/hsmenuserviceprovider/tsrc/t_hsmenuserviceprovider/inc/caicondescription.h
changeset 90 3ac3aaebaee5
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: caicondescription.h
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef CAICONDESCRIPTION_H
       
    19 #define CAICONDESCRIPTION_H
       
    20 
       
    21 #include <QSharedDataPointer>
       
    22 #include <QString>
       
    23 
       
    24 // mocks Content Storage CaIconDescrption
       
    25 class  CaIconDescription
       
    26 {
       
    27 
       
    28 public:
       
    29     QString mSetFileName;
       
    30     void setFilename(const QString &fileName)
       
    31     {
       
    32         mSetFileName = fileName;
       
    33     }
       
    34     
       
    35     // test helper, not belonging to Content Storage CaIconDescription
       
    36     void clear()
       
    37     {
       
    38         mSetFileName.clear();
       
    39     }
       
    40 };
       
    41 
       
    42 #endif // CAICONDESCRIPTION_H