ncdengine/provider/protocol/inc/ncd_pp_folderrefimpl.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2006 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:   CNcdPreminetProtocolFolderRefImpl declaration
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef NCDPREMINETPROTOCOLFOLDERREFIMPL_H
       
    20 #define NCDPREMINETPROTOCOLFOLDERREFIMPL_H
       
    21 
       
    22 #include "ncd_pp_folderref.h"
       
    23 
       
    24 class CNcdPreminetProtocolFolderRefImpl : public CBase,
       
    25                                           public MNcdPreminetProtocolFolderRef
       
    26     {
       
    27 public:
       
    28     static CNcdPreminetProtocolFolderRefImpl* NewL();
       
    29     static CNcdPreminetProtocolFolderRefImpl* NewLC();
       
    30     virtual ~CNcdPreminetProtocolFolderRefImpl();
       
    31     void ConstructL();
       
    32 public:
       
    33     TType Type() const;
       
    34     TDescription Description() const;
       
    35     const TDesC& ParentId() const;
       
    36     const TDesC& Id() const;
       
    37     const TDesC& Timestamp() const;
       
    38     const TDesC& RemoteUri() const;
       
    39     const TDesC& Namespace() const;
       
    40     const RArray<TInt>& Queries() const;
       
    41     const TDesC& ServerUri() const;
       
    42     const TDesC& ParentNamespace() const;
       
    43     TInt ValidUntilDelta() const;
       
    44     TBool ValidUntilAutoUpdate() const;
       
    45     // From MNcdProtocolElementFolderRef
       
    46     TInt Count() const;
       
    47     TInt AuthorizedCount() const;
       
    48 public:
       
    49     TDescription iDescription;
       
    50     HBufC* iParentId;
       
    51     HBufC* iId;
       
    52     HBufC* iTimestamp;
       
    53     HBufC* iRemoteUri;
       
    54     HBufC* iNamespace;
       
    55     RArray<TInt> iQueries;
       
    56     HBufC* iServerUri;
       
    57     HBufC* iParentNamespace;
       
    58     TInt iValidUntilDelta;
       
    59     TBool iValidUntilAutoUpdate;
       
    60     TInt iCount;
       
    61     TInt iAuthorizedCount;
       
    62     };
       
    63 
       
    64 #endif