radiohswidget/stub/xqsettingskey.h
branchRCL_3
changeset 20 93c594350b9a
parent 19 cce62ebc198e
equal deleted inserted replaced
19:cce62ebc198e 20:93c594350b9a
     1 /*
       
     2 * Copyright (c) 2010 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 for FM Radio home screen widget unit testing.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef XQSETTINGSKEY_H
       
    19 #define XQSETTINGSKEY_H
       
    20 
       
    21 class XQSettingsKey
       
    22 {
       
    23 public:
       
    24     enum Target
       
    25     {
       
    26         TargetCentralRepository = 0,
       
    27         TargetPublishAndSubscribe
       
    28     };
       
    29 
       
    30     XQSettingsKey(XQSettingsKey::Target target, long int uid, unsigned long int key);
       
    31     ~XQSettingsKey();
       
    32 
       
    33     XQSettingsKey::Target target() const;
       
    34     long int uid() const;
       
    35     unsigned long int key() const;
       
    36 
       
    37 protected:
       
    38     XQSettingsKey::Target m_target;
       
    39     long int m_uid;
       
    40     unsigned long int m_key;
       
    41 };
       
    42 
       
    43 #endif // XQSETTINGSKEY_H