idlehomescreen/xmluicontroller/inc/mtransactionelement.h
branchRCL_3
changeset 102 ba63c83f4716
parent 88 3321d3e205b6
equal deleted inserted replaced
93:b01126ce0bec 102:ba63c83f4716
    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 
    44      * @see UpdateDataL()
    45      * @see UpdateDataL()
    45      * @see ApplyPublishingPolicy()
    46      * @see ApplyPublishingPolicy()
    46      */
    47      */
    47     void CommitL( RAiPolicyElementArray& aPolicyArray, 
    48     void CommitL( TBool& aLayoutChanged, RPropertyHashMap& aPropertyHashMap );
    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;
    56     
    62     
    57     /**
    63     /**
    58      * Return the target UI element for this transaction element
    64      * Return the target UI element for this transaction element
    59      */
    65      */
    60     virtual CXnNodeAppIf& Target() const = 0 ;
    66     virtual CXnNodeAppIf& Target() const = 0 ;
    71     /**
    77     /**
    72      * Applies current publishing policy to UI control / element.
    78      * Applies current publishing policy to UI control / element.
    73      *
    79      *
    74      * @param [out] aLayoutChanged true if UI layout changes
    80      * @param [out] aLayoutChanged true if UI layout changes
    75      */
    81      */
    76     virtual void ApplyPublishingPolicy( RAiPolicyElementArray& aPolicyArray,
    82     virtual void ApplyPublishingPolicy( TBool& aLayoutChanged,
    77                                         RPropertyHashMap& aPropertyHashMap ) = 0;
    83                                         RPropertyHashMap& aPropertyHashMap ) = 0;
    78     
    84     
    79 protected:  // Constructors and destructor
    85 protected:  // Constructors and destructor
    80     
    86     
    81     ~MTransactionElement() {};
    87     ~MTransactionElement() {};