phonebookui/Phonebook2/ccapplication/ccamycardplugin/inc/ccappmycardplugin.h
branchRCL_3
changeset 15 e8e3147d53eb
parent 3 04ab22b956c2
child 21 b3431bff8c19
equal deleted inserted replaced
14:81f8547efd4f 15:e8e3147d53eb
    26 // Forward declaration
    26 // Forward declaration
    27 class CCCAppMyCard;
    27 class CCCAppMyCard;
    28 class CAiwServiceHandler;
    28 class CAiwServiceHandler;
    29 class CCCAppMyCardContainer;
    29 class CCCAppMyCardContainer;
    30 class CPbk2CommandHandler;
    30 class CPbk2CommandHandler;
    31 
    31 class CSpbContactDataModel;
    32 
    32 
    33 /**
    33 /**
    34  *  Class implementing CCCAppViewPluginBase interface. This is
    34  *  Class implementing CCCAppViewPluginBase interface. This is
    35  *  the main class and controlling the other classes of the plugin.
    35  *  the main class and controlling the other classes of the plugin.
    36  *
    36  *
    64      * 
    64      * 
    65      * @return MyCard
    65      * @return MyCard
    66      */
    66      */
    67     CCCAppMyCard& MyCard();
    67     CCCAppMyCard& MyCard();
    68     
    68     
       
    69     /**
       
    70      * MyCard's contact data model
       
    71      */
       
    72     CSpbContactDataModel& Model();
       
    73     
    69     /*
    74     /*
    70      * Edit my card fields
    75      * Edit my card fields
    71      * 
    76      * 
    72      * @param aFocusedFieldIndex  field to be focused in editor
    77      * @param aFocusedFieldIndex  field to be focused in editor
    73      */
    78      */
    74     void EditL( TInt aFocusedFieldIndex );
    79     void EditL( TInt aFocusedFieldIndex );
       
    80     
       
    81     /*
       
    82     * Handle error code
       
    83     * @aError System wide error code
       
    84     */
       
    85     void HandleError( TInt aError );
       
    86        
    75     
    87     
    76 public: 
    88 public: 
    77 
    89 
    78 // from base class CCCAppViewPluginBase
    90 // from base class CCCAppViewPluginBase
    79 
    91 
   185     
   197     
   186     /*
   198     /*
   187      * Creates command handler if not created, and returns pointer to it.
   199      * Creates command handler if not created, and returns pointer to it.
   188      */
   200      */
   189     CPbk2CommandHandler* CommandHandlerL();
   201     CPbk2CommandHandler* CommandHandlerL();
   190     
   202            
   191       
       
   192 private: // constructors
   203 private: // constructors
   193     
   204     
   194     /**
   205     /**
   195      * Constructor
   206      * Constructor
   196      */
   207      */
   218     /// Not own. Reference to own container. Owned in base class.
   229     /// Not own. Reference to own container. Owned in base class.
   219     CCCAppMyCardContainer* iOwnContainer;
   230     CCCAppMyCardContainer* iOwnContainer;
   220     
   231     
   221     // Own. Command handler
   232     // Own. Command handler
   222     CPbk2CommandHandler* iCommandHandler;
   233     CPbk2CommandHandler* iCommandHandler;
       
   234     
       
   235     // Own. MyCard contact model
       
   236     CSpbContactDataModel* iModel;
   223     };
   237     };
   224 
   238 
   225 #endif // CCAPPMYCARDPLUGIN_H
   239 #endif // CCAPPMYCARDPLUGIN_H
   226 
   240 
   227 // End of File
   241 // End of File