--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/phoneapp/phoneuicontrol/inc/mphonecallheadermanagerutility.h Mon Jan 18 20:18:27 2010 +0200
@@ -0,0 +1,79 @@
+/*
+* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Interface for setting and getting CLI related from engine.
+*
+*/
+
+#ifndef MPHONECALLHEADERMANAGERUTILITY_H
+#define MPHONECALLHEADERMANAGERUTILITY_H
+
+#include "tphonecmdparamcallheaderdata.h"
+#include "mphonecustomization.h"
+
+/**
+* Utily Interface for loading resources and using customization.
+*
+* @since S60 v9.1
+*/
+class MPhoneCallHeaderManagerUtility
+ {
+ public:
+
+ /**
+ * Concludes does the engine have information of the
+ * phone number. This information is then send to the view.
+ * @param aNumberLength - phone number's length
+ * @param aContactInfoAvailable - is contact's info available
+ */
+ virtual void SetPhoneNumberAvailabilityL(
+ const TInt aNumberLength,
+ const TBool aContactInfoAvailable ) = 0;
+
+ /**
+ * Resolves call header text in InCall-state,
+ * text could be 'Call 1', 'Call 2', ...
+ * @param aCallId - Call Id.
+ * @param aData - The returned data including needed text.
+ */
+ virtual void GetInCallNumberTextL(
+ TInt aCallId,
+ TDes& aData ) const = 0;
+
+ /**
+ * Loads strings for displaying in call header.
+ * @param aCallLabelId - Resource Id for longer text.
+ * @param aShortLabelId - Resource id for short text
+ * @param aCallHeaderData - Call header parameter into which the text
+ * will be set.
+ */
+ virtual void LoadCallHeaderTexts(
+ const TInt aLabelId,
+ const TInt aShortLabelId,
+ TPhoneCmdParamCallHeaderData* aCallHeaderData ) = 0;
+
+ /**
+ * Loads data commonengine stringloader.
+ * @param aData - The returned data including needed text.
+ * @param aResourceId - Resource id for text.
+ */
+ virtual void LoadResource( TDes& aData, const TInt aResourceId ) = 0;
+
+ /**
+ * Returns instance of class MPhoneCustomization
+ */
+ virtual MPhoneCustomization* Customization() = 0;
+
+ };
+
+#endif // MPHONECALLHEADERMANAGERUTILITY_H