S60 3rd Edition SDK for Symbian OS
Example Applications Guide

RegistrationItemdata.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : RegistrationItemdata.h
00004 *  Part of     : Registration
00005 *  Interface   : 
00006 *  Description : 
00007 *  Version     : 
00008 *
00009 *  Copyright (c) 2005-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 REGISTRATIONITEMDATA_H
00017 #define REGISTRATIONITEMDATA_H
00018 
00019 // INCLUDE FILES 
00020 #include <e32base.h>
00021 #include <eikenv.h>
00022 #include <in_sock.h>
00023 
00024 #include <Registration.rsg>
00025 
00026 // CONSTANTS
00027 const TInt KMaxSettingTextSize = 50;
00028 const TInt KMaxPasswordTextSize  = 20;
00029 
00030 // CLASS DECLARATION
00031 
00032 /**
00033 * CRegistrationItemdata 
00034 */
00035 class TRegistrationItemdata 
00036     {
00037 
00038     public: // Constructors and destructor
00039         /**
00040         * CRegistrationItemdata.
00041         * C++ default constructor.
00042         */
00043         TRegistrationItemdata();
00044 
00045         /**
00046         * ~CRegistrationItemdata.
00047         * Virtual Destructor.
00048         */
00049         virtual ~TRegistrationItemdata();
00050 
00051 
00052     private: // Constructors and destructor
00053 
00054     public: // Data
00055 
00056         // Integer type members 
00057         TTime iDate;
00058 
00059         // Boolean type members 
00060         TBool iGender;
00061         TBool iAccept;
00062 
00063         // Descriptor type members 
00064         TBuf<KMaxSettingTextSize> iName;
00065         TBuf<KMaxSettingTextSize> iEmail;
00066         TBuf<KMaxSettingTextSize> iPhone;
00067         TBuf<KMaxSettingTextSize> iLogin;
00068         TBuf<KMaxPasswordTextSize> iPw;
00069     };
00070 
00071 
00072 #endif // REGISTRATIONITEMDATA_H
00073 
00074 // End of File

© Nokia 2006

Back to top