webengine/widgetregistry/Server/inc/WidgetEntry.h
branchRCL_3
changeset 94 919f36ff910f
parent 93 79859ed3eea9
equal deleted inserted replaced
93:79859ed3eea9 94:919f36ff910f
    15 *
    15 *
    16 *                This class implements the CWidgetEntry class.
    16 *                This class implements the CWidgetEntry class.
    17 *
    17 *
    18 */
    18 */
    19 
    19 
    20 
       
    21 #ifndef WIDGETENTRY_H
    20 #ifndef WIDGETENTRY_H
    22 #define WIDGETENTRY_H
    21 #define WIDGETENTRY_H
    23 
    22 
    24 // INCLUDES
    23 // INCLUDES
    25 #include "WidgetPropertyValue.h"
    24 #include <widgetpropertyvalue.h>
    26 #include "WidgetRegistryXml.h"
    25 #include "WidgetRegistryXml.h"
    27 
    26 
    28 // FORWARD DECLARATIONS
    27 // FORWARD DECLARATIONS
    29 class RFileWriteStream;
    28 class RFileWriteStream;
    30 class RFileReadStream;
    29 class RFileReadStream;
    31 
       
    32 
    30 
    33 /**
    31 /**
    34 *
    32 *
    35 *  This class holds all information related to a widget
    33 *  This class holds all information related to a widget
    36 *
    34 *
   182 
   180 
   183     /**
   181     /**
   184      * 2-phase constructor
   182      * 2-phase constructor
   185      */
   183      */
   186     void ConstructL();
   184     void ConstructL();
       
   185     
       
   186     /**
       
   187      * Property cleanup
       
   188      */
       
   189     void PropertyCleanupL();
   187 
   190 
   188 protected:
   191 protected:
   189     RPointerArray<CWidgetPropertyValue>  iPropertyValues;
   192     RPointerArray<CWidgetPropertyValue>  iPropertyValues;
   190 
   193 
   191     TInt iNetworkAccess; // bool, 1 if widget wants network access
   194     TInt iNetworkAccess; // bool, 1 if widget wants network access
   192     // info.plist EAllowNetworkAccess and part of EAllowFullAccess
   195     // info.plist EAllowNetworkAccess and part of EAllowFullAccess
   193 
   196 
   194     TInt iActive; // bool, 1 if widget is executing
   197     TInt iActive; // bool, 1 if widget is executing
   195 
   198 
   196    	TInt iMiniView; // bool, 1 if launched in miniview
   199     TInt iMiniView; // bool, 1 if launched in miniview
   197 
   200 
   198 	TInt iFullView; // bool, 1 if launched in fullview
   201     TInt iFullView; // bool, 1 if launched in fullview
   199     TInt iBlanketPermGranted; // bool, 1 if platform service access needs to be prompted
   202     TInt iBlanketPermGranted; // bool, 1 if platform service access needs to be prompted
   200     
   203     
   201     };
   204     };
   202 
   205 
   203 typedef RPointerArray<CWidgetEntry> RWidgetArray;
   206 typedef RPointerArray<CWidgetEntry> RWidgetArray;