phoneuis/Ussd/inc/UssdVariant.hrh
changeset 0 5f000ab63145
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/phoneuis/Ussd/inc/UssdVariant.hrh	Mon Jan 18 20:18:27 2010 +0200
@@ -0,0 +1,57 @@
+/*
+* Copyright (c) 2005-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:  Local variation flags for Ussd
+ *
+*/
+
+
+#ifndef __USSDVARIANT_HRH__
+#define __USSDVARIANT_HRH__
+
+/**
+* User's guide to Local Ussd variation:
+* Shared data file: KSDUidUssdLV (10005955.ini)
+* Keyword KUssdUILV1:
+* How to use: 
+*     TInt featureBitmask = 0;
+*     if ( sharedDataClient.Assign( KSDUidUssdLV ) == KErrNone )
+*         {
+*         if ( sharedDataClient.GetInt( 
+*             KUssdUILV1, featureBitmask ) != KErrNone )
+*             {
+*             // if problems reading shared data, assume everything is off.
+*             featureBitmask = 0;
+*             } 
+*         }
+* 
+*     //
+*     // Get the value once and save it for later use.
+*     // No need always to access shared data every time when a value is needed
+* 
+*     if  ( featureBitmask & KUssdFeatureIdRemainingChars )
+*         {
+*         // This feature is ON, so act accordingly
+*         }
+*/
+
+/**
+* Shared data KSDUidUssdLV
+* Keyword KUssdUILV1: R-RemChars
+* If KUssdUILV1 is on, Ussd shows number of remaining characters 
+*/
+#define KUssdFeatureIdRemainingChars 0x01
+
+#endif // __USSDVARIANT_HRH__
+
+// End of File