ncdengine/provider/protocol/inc/ncd_pp_folderref.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:   MNcdProtocolElementFolderRef declaration
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef NcdPREMINETPROTOCOLFOLDERREF_H
       
    20 #define NcdPREMINETPROTOCOLFOLDERREF_H
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 #include "ncd_pp_entityref.h"
       
    25 
       
    26 
       
    27 
       
    28 class MNcdPreminetProtocolFolderRef : public MNcdPreminetProtocolEntityRef
       
    29     {
       
    30 public:
       
    31     
       
    32     /**
       
    33      * Indicates uninitialized value.
       
    34      */
       
    35     enum { KValueNotSet = KMinTInt };
       
    36     
       
    37     /**
       
    38      * Destructor
       
    39      */
       
    40     virtual ~MNcdPreminetProtocolFolderRef() {}
       
    41 
       
    42     /**
       
    43      * Amount of entities in the list.
       
    44      * If not set, will return KValueNotSet.
       
    45      */
       
    46     virtual TInt Count() const = 0;
       
    47 
       
    48     /**
       
    49      * Authorized count.
       
    50      * If not set, will return KValueNotSet.
       
    51      */
       
    52     virtual TInt AuthorizedCount() const = 0;
       
    53 
       
    54     // Sub entities not reported here, they come separately with parent information set.
       
    55     };
       
    56 
       
    57 #endif