/** @file */
/* ----------------------------------------------------------------------------

Copyright (C) Siemens AG 1994-2004 * ALL RIGHTS RESERVED

  This software is protected by the inclusion of the above copyright
  notice. This software may not be provided or otherwise made available
  to, or used by, any other person. No title to or ownership of the
  software is  hereby  transferred.
  The information contained in this document is considered the
  CONFIDENTIAL and PROPRIETARY information of Siemens AG and may
  not be disclosed or discussed with anyone who is not employed by
  Siemens AG, unless the individual / company
  (i) has an express need to know such information, and
  (ii) disclosure of information is subject to the terms of a duly
  executed Confidentiality and Non-Disclosure Agreement between
  Siemens AG and the individual / company.

Created using template RCSfile: templ_c.c,v, Revision: 1.9, genxfile V1.12

.AUTHOR Christoph Scharenberg (extern, KLF-5939)

.FILENAME simjappworldclock.cpp

.CSVERSION 1.1

.VERSION 01.00.00

.DATE 2003-11-04

.SHORT_DESCR Dialog implementation used to start Java World Clock application

.SW_COMPONENT C_mobsim

.SW_TYPE 

.EXIT_CODES

.CHANGE_CONTROL 
Version  Date        Changed by
         Reason of change
--------------------------------------------------------------------------------
01.00.00 2003-11-04 Christoph Scharenberg (extern, KLF-5939) (MCH)
         Initial Version

**************************************Jerry*********************************
02.00.00  2006-03-17  Gurpreet Sabharwal(SISL ,India)
                      Removed Java Support And Functionality




------------------------------------------------------------------------------*/

#include <global.h>

#include <afxwin.h>
#include <afxext.h>
#include <afxdlgs.h>
#include <AFXCMN.H>
#include "winrc.h" 
#include "winkrc.h"
#include "sms_res.h"

#include "simjappworldclock.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// SimJAppWorldClock dialog



SimJAppWorldClock::SimJAppWorldClock(CWnd* pParent /*=NULL*/)
	: CDialog(SimJAppWorldClock::IDD, pParent),
      m_radio( IDC_JAPP_WORLDCLOCK_NORMAL )
{ ; }


BEGIN_MESSAGE_MAP(SimJAppWorldClock, CDialog)
END_MESSAGE_MAP()


// SimJAppWorldClock message handlers

BOOL SimJAppWorldClock::OnInitDialog()
{
	CDialog::OnInitDialog();

    CheckRadioButton( IDC_JAPP_WORLDCLOCK_NORMAL,
                      IDC_JAPP_WORLDCLOCK_NITZ,
                      m_radio );
	
	return TRUE;  // return TRUE  unless you set the focus to a control
}


void SimJAppWorldClock::OnOK( void )
{
    m_radio = GetCheckedRadioButton( IDC_JAPP_WORLDCLOCK_NORMAL, IDC_JAPP_WORLDCLOCK_NITZ );
    CDialog::OnOK();
}


//T_JavaApplications_WorldClockMode SimJAppWorldClock::GetMode( void ) const
//{    
 //  T_JavaApplications_WorldClockMode Mode = eWorldClock_NormalMode;

  //  switch ( m_radio )
  // {
  //  case IDC_JAPP_WORLDCLOCK_NORMAL:         Mode = eWorldClock_NormalMode;         break;
    
  // case IDC_JAPP_WORLDCLOCK_INITIALIZATION: Mode = eWorldClock_InitializationMode; break;
  // case IDC_JAPP_WORLDCLOCK_NITZ:           Mode = eWorldClock_NitzMode;           break;
  //  }

 //   return Mode;
//}
