videocollection/tsrc/stubs/inc/hbstyleloader.h
changeset 15 cf5481c2bc0b
equal deleted inserted replaced
2:dec420019252 15:cf5481c2bc0b
       
     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:  stub hbaction 
       
    15 * 
       
    16 */
       
    17 
       
    18 #ifndef HBSTYLELOADER_H
       
    19 #define HBSTYLELOADER_H
       
    20 
       
    21 #include <qglobal.h>
       
    22 #include <QObject>
       
    23 #include <QString>
       
    24 
       
    25 class  HbStyleLoader : QObject
       
    26 {
       
    27     Q_OBJECT
       
    28 public:
       
    29     /**
       
    30      * Contructor.
       
    31      */       
       
    32     HbStyleLoader( const QString txt )
       
    33     {
       
    34         Q_UNUSED(txt);
       
    35         initializeCount++;
       
    36     };
       
    37     
       
    38     /**
       
    39      * destructor
       
    40      */
       
    41    virtual ~HbStyleLoader(){initializeCount--;}
       
    42    
       
    43    static bool registerFilePath(const QString &filePath) 
       
    44    { 
       
    45        Q_UNUSED(filePath);
       
    46        return mRegisterFilePathReturnValue; 
       
    47    }
       
    48    
       
    49    static bool unregisterFilePath(const QString &filePath) 
       
    50    { 
       
    51        Q_UNUSED(filePath);
       
    52        return true;
       
    53    }
       
    54     
       
    55     /**
       
    56      * counter to make sure alloc dealloc match
       
    57      */
       
    58     static int initializeCount;
       
    59     
       
    60     /**
       
    61      * returned from registerFilePath
       
    62      */
       
    63     static bool mRegisterFilePathReturnValue;
       
    64     
       
    65 signals:
       
    66             
       
    67 };
       
    68 
       
    69 #endif