ncdengine/inc/ncdnodecontentinfo.h
branchRCL_3
changeset 11 3ba40be8e484
parent 0 ba25891c3a9e
equal deleted inserted replaced
9:51c0f5edf5ef 11:3ba40be8e484
     1 /*
     1 /*
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    76      *
    76      *
    77      * @return The UID of the application item.
    77      * @return The UID of the application item.
    78      */
    78      */
    79     virtual TUid Uid() const = 0;
    79     virtual TUid Uid() const = 0;
    80 
    80 
    81 
       
    82     /**
    81     /**
    83      * Different versions of the content items may exist. Thus,
    82      * Different versions of the content items may exist. Thus,
    84      * a version identifier may be defined for the item. When installing
    83      * a version identifier may be defined for the item. When installing
    85      * applications the version may be required.
    84      * applications the version may be required.
    86      *
    85      *
   100      * @return Content size in bytes.
    99      * @return Content size in bytes.
   101      * If the protocol has not defined any value, zero is returned.
   100      * If the protocol has not defined any value, zero is returned.
   102      */
   101      */
   103     virtual TInt Size() const = 0;
   102     virtual TInt Size() const = 0;
   104 
   103 
       
   104     /**
       
   105      * This function is the indicative Identifier for the
       
   106      * contents that are widgets. This can be used e.g. for checking
       
   107      * if the widget has already been installed to the phone.
       
   108      *
       
   109      * @return The Identifer of the application item.
       
   110      */
       
   111     virtual const TDesC& Identifier() const = 0;
       
   112 
   105 
   113 
   106 protected:
   114 protected:
   107 
   115 
   108     /**
   116     /**
   109      * Destructor.
   117      * Destructor.