idlehomescreen/xmluicontroller/inc/mtransactionelement.h
branchRCL_3
changeset 35 3321d3e205b6
parent 0 f72a12da539e
equal deleted inserted replaced
34:5456b4e8b3a8 35:3321d3e205b6
    39 public: // New functions
    39 public: // New functions
    40     
    40     
    41     /**
    41     /**
    42      * Commits the publish operation and actually updates the UI control/element.
    42      * Commits the publish operation and actually updates the UI control/element.
    43      *
    43      *
    44      * @param [out] aLayoutChanged true if UI layout changes 
       
    45      * @see UpdateDataL()
    44      * @see UpdateDataL()
    46      * @see ApplyPublishingPolicy()
    45      * @see ApplyPublishingPolicy()
    47      */
    46      */
    48     void CommitL( TBool& aLayoutChanged, RPropertyHashMap& aPropertyHashMap );
    47     void CommitL( RAiPolicyElementArray& aPolicyArray, 
       
    48                   RPropertyHashMap& aPropertyHashMap );
    49 
    49 
    50     /**
    50     /**
    51      * Resets the transaction element and clears the references to content
    51      * Resets the transaction element and clears the references to content
    52      * and UI control/element.
    52      * and UI control/element.
    53      *
    53      *
    54      */
    54      */
    55     virtual void Reset() = 0;
    55     virtual void Reset() = 0;
    56     
       
    57     /**
       
    58      * Returns the array of associated content policy elements.
       
    59      *
       
    60      */
       
    61     virtual RAiPolicyElementArray& PolicyArray() = 0;
       
    62     
    56     
    63     /**
    57     /**
    64      * Return the target UI element for this transaction element
    58      * Return the target UI element for this transaction element
    65      */
    59      */
    66     virtual CXnNodeAppIf& Target() const = 0 ;
    60     virtual CXnNodeAppIf& Target() const = 0 ;
    77     /**
    71     /**
    78      * Applies current publishing policy to UI control / element.
    72      * Applies current publishing policy to UI control / element.
    79      *
    73      *
    80      * @param [out] aLayoutChanged true if UI layout changes
    74      * @param [out] aLayoutChanged true if UI layout changes
    81      */
    75      */
    82     virtual void ApplyPublishingPolicy( TBool& aLayoutChanged,
    76     virtual void ApplyPublishingPolicy( RAiPolicyElementArray& aPolicyArray,
    83                                         RPropertyHashMap& aPropertyHashMap ) = 0;
    77                                         RPropertyHashMap& aPropertyHashMap ) = 0;
    84     
    78     
    85 protected:  // Constructors and destructor
    79 protected:  // Constructors and destructor
    86     
    80     
    87     ~MTransactionElement() {};
    81     ~MTransactionElement() {};