--- a/phonebookui/Phonebook2/ccapplication/ccamycardplugin/inc/ccappmycardplugin.h Fri Mar 12 15:41:25 2010 +0200
+++ b/phonebookui/Phonebook2/ccapplication/ccamycardplugin/inc/ccappmycardplugin.h Mon Mar 15 12:39:26 2010 +0200
@@ -28,7 +28,7 @@
class CAiwServiceHandler;
class CCCAppMyCardContainer;
class CPbk2CommandHandler;
-
+class CSpbContactDataModel;
/**
* Class implementing CCCAppViewPluginBase interface. This is
@@ -66,6 +66,11 @@
*/
CCCAppMyCard& MyCard();
+ /**
+ * MyCard's contact data model
+ */
+ CSpbContactDataModel& Model();
+
/*
* Edit my card fields
*
@@ -73,6 +78,13 @@
*/
void EditL( TInt aFocusedFieldIndex );
+ /*
+ * Handle error code
+ * @aError System wide error code
+ */
+ void HandleError( TInt aError );
+
+
public:
// from base class CCCAppViewPluginBase
@@ -187,8 +199,7 @@
* Creates command handler if not created, and returns pointer to it.
*/
CPbk2CommandHandler* CommandHandlerL();
-
-
+
private: // constructors
/**
@@ -220,6 +231,9 @@
// Own. Command handler
CPbk2CommandHandler* iCommandHandler;
+
+ // Own. MyCard contact model
+ CSpbContactDataModel* iModel;
};
#endif // CCAPPMYCARDPLUGIN_H