S60 3rd Edition SDK for Symbian OS
Example Applications Guide

SIPExGameConstants.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : SIPExGameConstants.h
00004 *  Part of     : SIPExEngine
00005 *  Interface   : 
00006 *  Description : 
00007 *  Version     : 
00008 *
00009 *  Copyright (c) 2004-2006 Nokia Corporation.
00010 *  This material, including documentation and any related 
00011 *  computer programs, is protected by copyright controlled by 
00012 *  Nokia Corporation.
00013 * ==============================================================================
00014 */
00015 
00016 #ifndef SIPEXGAMECONSTANTS_H
00017 #define SIPEXGAMECONSTANTS_H
00018 
00019 // INCLUDES
00020 #include    <e32base.h>
00021 
00022 const TInt KBoxCountX( 8 );
00023 const TInt KBoxCountY( 8 );
00024 const TInt KMaxMoves( KBoxCountX * KBoxCountY );
00025 const TInt KMaxSIPAddressLength( 256 );
00026 
00027 _LIT( KGameAlreadyRunning, "Game already running..." );
00028 _LIT( KGameStarting, "Starting" );
00029 _LIT( KGameOver, "Game over" );
00030 _LIT( KGameEnded, "Connection closed and session ended." );
00031 _LIT( KYouWin, "You WIN!" );
00032 _LIT( KYouLose, "You LOSE!" );
00033 _LIT( KGameTie, "Game tie!" );
00034 _LIT( KWaitingRemote, "Waiting remote" );
00035 _LIT( KNotRegistered, "Not registered..." );
00036 _LIT( KNotConnected, "Not connected" );
00037 _LIT( KProfileEnabled, "Profile enabled!" );
00038 _LIT( KProfileDisabled, "Profile disabled!" );
00039 _LIT( KProfEnabError, "Error in profile enabling!" );
00040 _LIT( KConnected, "Connected" );
00041 _LIT( KTimedOut, "Timed out!" );
00042 _LIT( KYourMove, "Your move" );
00043 _LIT( KEnablingProfile, "Enabling profile..." );
00044 _LIT( KSessionEnded, "Session ended!" );
00045 _LIT( KInvitationCancelled, "Invitation cancelled" );
00046 _LIT( KConnecting, "Connecting..." );
00047 _LIT( KInviting, "Inviting..." );
00048 _LIT( KWaitingRemoteConn, "Waiting remote connection..." );
00049 _LIT( KInviteDeclined, "Invite declined!" );
00050 _LIT( KInviteDeclinedByRemote, "Invite declined by remote: " );
00051 _LIT( KConnectionLost, "Connection lost!" );
00052 _LIT( KProfileError, "Error in profile operation: " );
00053 _LIT( KConnectionDropped, "Connection dropped!" );
00054 _LIT( KErrorInSIPEngine, "Error in SIP Engine: " );
00055 _LIT( KProvResponse, "Response from SIP engine: " );
00056 _LIT( KListening, "Listening..." );
00057 _LIT( KAccepting, "Sending 200 OK..." );
00058 _LIT( KResolving, "Resolving local address..." );
00059 _LIT( KAckReceived, "Ack received" );
00060 _LIT( K200Received, "200 OK received" );
00061 _LIT( KSendingAck, "Sending Ack" );
00062 
00063 
00064 _LIT8( KMoveFormatStr, "%d, %d" );
00065 
00066 #endif // SIPEXGAMECONSTANTS_H
00067 
00068 // End of file

© Nokia 2006

Back to top