datacommsserver/networkingdialogapi/inc/AgentDialog.h
branchRCL_3
changeset 18 9644881fedd0
parent 0 dfb7c4ff071f
equal deleted inserted replaced
17:9ddb1d67ebaf 18:9644881fedd0
     1 /**
     1 /**
     2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 1997-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    20 
    20 
    21 
    21 
    22 /**
    22 /**
    23  @file
    23  @file
    24  @publishedAll
    24  @publishedAll
    25  @released
    25  @deprecated
    26 */
    26 */
    27 
    27 
    28 #ifndef __AGENTDIALOG_H__
    28 #ifndef __AGENTDIALOG_H__
    29 #define __AGENTDIALOG_H__
    29 #define __AGENTDIALOG_H__
    30 
    30 
    35 
    35 
    36 
    36 
    37 /**
    37 /**
    38 Server name in EKA2 case
    38 Server name in EKA2 case
    39 @publishedAll
    39 @publishedAll
    40 @released
    40 @deprecated
    41 */
    41 */
    42 _LIT(KCommsDialogServerName, "!NetDialDialogServer");
    42 _LIT(KCommsDialogServerName, "!NetDialDialogServer");
    43 
    43 
    44 //__FLOG_STMT(_LIT8(KDlgSvrLogSubsys, "agentdialog");)
    44 //__FLOG_STMT(_LIT8(KDlgSvrLogSubsys, "agentdialog");)
    45 //__FLOG_STMT(_LIT8(KDlgSvrLogComponent, "server");)
    45 //__FLOG_STMT(_LIT8(KDlgSvrLogComponent, "server");)
    48 class TConnectionPrefs
    48 class TConnectionPrefs
    49 /**
    49 /**
    50 Specifies the rank and desired direction of the connection and bearer.
    50 Specifies the rank and desired direction of the connection and bearer.
    51 
    51 
    52 @publishedAll
    52 @publishedAll
    53 @released
    53 @deprecated
    54 */
    54 */
    55 	{
    55 	{
    56 public:
    56 public:
    57 	TUint32 iRank;
    57 	TUint32 iRank;
    58 	TCommDbConnectionDirection iDirection;
    58 	TCommDbConnectionDirection iDirection;
    62 class TIspConnectionNames
    62 class TIspConnectionNames
    63 /**
    63 /**
    64 Specifies the Connection Names for ISP.
    64 Specifies the Connection Names for ISP.
    65 
    65 
    66 @publishedAll
    66 @publishedAll
    67 @released
    67 @deprecated
    68 */
    68 */
    69 	{
    69 	{
    70 public:
    70 public:
    71 	TBuf<KCommsDbSvrDefaultTextFieldLength> iServiceName;
    71 	TBuf<KCommsDbSvrDefaultTextFieldLength> iServiceName;
    72 	TBuf<KCommsDbSvrMaxColumnNameLength> iServiceTable;
    72 	TBuf<KCommsDbSvrMaxColumnNameLength> iServiceTable;
    78 class TAuthenticationPair
    78 class TAuthenticationPair
    79 /**
    79 /**
    80 Specifies the Authentication for the User Name and Password.
    80 Specifies the Authentication for the User Name and Password.
    81 
    81 
    82 @publishedAll
    82 @publishedAll
    83 @released
    83 @deprecated
    84 */
    84 */
    85 	{
    85 	{
    86 public:
    86 public:
    87 	TDes* iUsername;
    87 	TDes* iUsername;
    88 	TDes* iPassword;
    88 	TDes* iPassword;
    91 class TPctResponse
    91 class TPctResponse
    92 /**
    92 /**
    93 Allows the user to see the login script running, see what is sent and received, and allows the user to type responses.
    93 Allows the user to see the login script running, see what is sent and received, and allows the user to type responses.
    94 
    94 
    95 @publishedAll
    95 @publishedAll
    96 @released
    96 @deprecated
    97 */
    97 */
    98 	{
    98 	{
    99 public:
    99 public:
   100 	TDes* iBuffer;
   100 	TDes* iBuffer;
   101 	};
   101 	};
   103 class TNewIapConnectionPrefs
   103 class TNewIapConnectionPrefs
   104 /**
   104 /**
   105 Specifies Connection Preference for the New IAP.
   105 Specifies Connection Preference for the New IAP.
   106 
   106 
   107 @publishedAll
   107 @publishedAll
   108 @released
   108 @deprecated
   109 */
   109 */
   110 	{
   110 	{
   111 public:
   111 public:
   112 	TConnectionPrefs iPrefs;
   112 	TConnectionPrefs iPrefs;
   113 	TInt iLastError;
   113 	TInt iLastError;
   121 Real implementations need three asynchronous message slots instead of RNotifiers default one slot
   121 Real implementations need three asynchronous message slots instead of RNotifiers default one slot
   122 in order to implement the PCT functionality.  This is not used at all by the test dialog server
   122 in order to implement the PCT functionality.  This is not used at all by the test dialog server
   123 implementation.
   123 implementation.
   124 
   124 
   125 @publishedAll
   125 @publishedAll
   126 @released
   126 @deprecated
   127 */
   127 */
   128 	{
   128 	{
   129 public :
   129 public :
   130 	TInt Connect();
   130 	TInt Connect();
   131 	};
   131 	};
   137 
   137 
   138 NOTE! Although the class inherits from RSessionBase this does not mean you 
   138 NOTE! Although the class inherits from RSessionBase this does not mean you 
   139 have to implement the API as a client server mechanism.
   139 have to implement the API as a client server mechanism.
   140 
   140 
   141 @publishedAll
   141 @publishedAll
   142 @released
   142 @deprecated
   143 */
   143 */
   144 	{
   144 	{
   145 public:
   145 public:
   146 	IMPORT_C RGenConAgentDialogServer();
   146 	IMPORT_C RGenConAgentDialogServer();
   147 	IMPORT_C ~RGenConAgentDialogServer();
   147 	IMPORT_C ~RGenConAgentDialogServer();