smsprotocols/smsstack/gsmu/inc/gsmuNmspaceMobPh.h
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Multimode SMS common API header file.
       
    15 // Describes common Telephony interface types.
       
    16 // The types are duplicated from ETELMM.h in an effort to separate SMS from ETEL.
       
    17 // Correspondent ETEL types could be found in ETELMM.h, class RMobilePhone.
       
    18 // 
       
    19 //
       
    20 
       
    21 /**
       
    22  @file
       
    23  @publishedAll
       
    24  @released
       
    25 */
       
    26 
       
    27 
       
    28 #ifndef __GSMUNMSPACEMOBPH_H__
       
    29 #define __GSMUNMSPACEMOBPH_H__
       
    30 
       
    31 /**
       
    32  *  Address types.
       
    33  *  
       
    34  *  Modes: Common
       
    35  *  
       
    36  *  @see class RMobilePhone
       
    37  */
       
    38 namespace NMobilePhone
       
    39 	{
       
    40 	enum TMobileTON
       
    41 		{
       
    42 		/**
       
    43 		 *  User or the network has no knowledge of the type of number.
       
    44 		 *  
       
    45 		 *  Modes: Common
       
    46 		 */
       
    47 		EUnknownNumber,			// 0
       
    48 
       
    49 		/**
       
    50 		 *  International number.
       
    51 		 *  
       
    52 		 *  Modes: Common
       
    53 		 */
       
    54 		EInternationalNumber,	// 1
       
    55 
       
    56 		/**
       
    57 		 *  National number.
       
    58 		 *  
       
    59 		 *  Modes: Common
       
    60 		 */
       
    61 		ENationalNumber,		// 2
       
    62 
       
    63 		/**
       
    64 		 *  Administration/service number specific to the serving network,
       
    65 		 *  e.g. used to access an operator.
       
    66 		 *  
       
    67 		 *  Modes: Common
       
    68 		 */
       
    69 		ENetworkSpecificNumber, // 3
       
    70 
       
    71 		/**
       
    72 		 *  Subscriber number.
       
    73 		 *  
       
    74 		 *  Modes: Common
       
    75 		 */
       
    76 		ESubscriberNumber,		// 4 - Also defined as "dedicated, short code" in GSM 04.08
       
    77 
       
    78 		/**
       
    79 		 *  Alphanumeric number coded according to 3GPP TS 123 038 GSM
       
    80 		 *  7-bit default alphabet.
       
    81 		 *  
       
    82 		 *  Modes: GSM/WCDMA
       
    83 		 */
       
    84 		EAlphanumericNumber,	// 5
       
    85 
       
    86 		/**
       
    87 		 *  Abbreviated number.
       
    88 		 *  
       
    89 		 *  Modes: Common
       
    90 		 */
       
    91 		EAbbreviatedNumber		// 6
       
    92 		};
       
    93 
       
    94 	/**
       
    95 	 *  Number Plan Indicator.
       
    96 	 *  
       
    97 	 *  Modes: Common
       
    98 	 */
       
    99 	enum TMobileNPI
       
   100 		{
       
   101 		/**
       
   102 		 *  User or the network has no knowledge of the numbering plan.
       
   103 		 *  
       
   104 		 *  Modes: Common
       
   105 		 */
       
   106 		EUnknownNumberingPlan =0,
       
   107 
       
   108 		/**
       
   109 		 *  ISDN/telephony numbering plan.
       
   110 		 *  
       
   111 		 *  Modes: Common
       
   112 		 */
       
   113 		EIsdnNumberPlan=1,
       
   114 
       
   115 		/**
       
   116 		 *  Data numbering plan.
       
   117 		 *  
       
   118 		 *  Modes: Common
       
   119 		 */
       
   120 		EDataNumberPlan=3,
       
   121 
       
   122 		/**
       
   123 		 *  Telex numbering plan.
       
   124 		 *  
       
   125 		 *  Modes: Common
       
   126 		 */
       
   127 		ETelexNumberPlan=4,
       
   128 
       
   129 		/**
       
   130 		 *  Service centre specific plan used to indicate a numbering plan
       
   131 		 *  specific to external Short Message entities attached to	the
       
   132 		 *  SMSC.
       
   133 		 */
       
   134 		EServiceCentreSpecificPlan1=5,
       
   135 
       
   136 		/**
       
   137 		 *  Service centre specific plan used to indicate a numbering plan
       
   138 		 *  specific to external Short Message entities attached to	the
       
   139 		 *  SMSC.
       
   140 		 *  
       
   141 		 *  Modes: GSM/WCDMA
       
   142 		 */
       
   143 		EServiceCentreSpecificPlan2=6,
       
   144 
       
   145 		/**
       
   146 		 *  National numbering plan.
       
   147 		 *  
       
   148 		 *  Modes: GSM/WCDMA
       
   149 		 */
       
   150 		ENationalNumberPlan=8,
       
   151 
       
   152 		/**
       
   153 		 *  Private numbering plan.
       
   154 		 *  
       
   155 		 *  Modes: Common
       
   156 		 */
       
   157 		EPrivateNumberPlan=9,
       
   158 
       
   159 		/**
       
   160 		 *  ERMES numbering plan.
       
   161 		 *  
       
   162 		 *  Modes: GSM/WCDMA
       
   163 		 */
       
   164 		EERMESNumberPlan=10
       
   165 		};
       
   166 	}
       
   167 
       
   168 #endif // __GSMUNMSPACEMOBPH_H__