logsui/logsapp/tsrc/ut_logsapp/stubs/xqsettingskey.h
changeset 18 acd4e87b24b4
equal deleted inserted replaced
17:90fe74753f71 18:acd4e87b24b4
       
     1 /*
       
     2 * Copyright (c) 2005 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 #ifndef XQSETTINGSITEM_H
       
    19 #define XQSETTINGSITEM_H
       
    20 
       
    21 
       
    22 // CLASS DECLARATION
       
    23 class XQSettingsKey
       
    24 {
       
    25 public:
       
    26     enum Target
       
    27     {
       
    28         TargetCentralRepository = 0,
       
    29         TargetPublishAndSubscribe
       
    30     };
       
    31 
       
    32     XQSettingsKey(XQSettingsKey::Target target, long int uid, unsigned long int key);
       
    33     ~XQSettingsKey();
       
    34 
       
    35     XQSettingsKey::Target target() const;
       
    36     long int uid() const;
       
    37     unsigned long int key() const;
       
    38 
       
    39 protected:
       
    40     XQSettingsKey::Target m_target;
       
    41     long int m_uid;
       
    42     unsigned long int m_key;
       
    43 };
       
    44 
       
    45 
       
    46 #endif //XQSETTINGSITEM_H