mobilemessaging/smum/inc/SmumSettingsDialog.h
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 /*
       
     2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  
       
    15 *     Main settings dialog for Sms.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef SMUMSETTINGSDIALOG_H
       
    22 #define SMUMSETTINGSDIALOG_H
       
    23 
       
    24 //  INCLUDES
       
    25 #include <AknForm.h> // CAknDialog
       
    26 #include <eiklbo.h>  // MEikListBoxObserver
       
    27 
       
    28 
       
    29 // MACROS
       
    30 
       
    31 // DATA TYPES
       
    32 enum TSmumSettingsYesNo
       
    33     {
       
    34     ESmumSettingsYes = 0,
       
    35     ESmumSettingsNo = 1
       
    36     };
       
    37 
       
    38 
       
    39 // Exitcodes
       
    40 enum TSmumSmsSettingsExitCodes 
       
    41     {
       
    42     ESmumSmsSettingsInitialvalue = 0,
       
    43     ESmumSmsSettingsBack,
       
    44     ESmumSmsSettingsMenuExit,
       
    45     ESmumSmsSettingsSystemExit
       
    46     };
       
    47 
       
    48 // Settingstypes
       
    49 enum TSmumSmsSettingsType 
       
    50     {
       
    51     ESmumMainSmsSettings = 0,
       
    52     ESmumSendingOptions
       
    53     };
       
    54 
       
    55 // Character-set setting values
       
    56 // Enumeration used also in SmsEditor
       
    57 enum TCharSetSupport
       
    58     {
       
    59     ECharSetFull,
       
    60     ECharSetReduced,
       
    61     ECharSetFullLocked,
       
    62     ECharSetReducedLocked
       
    63     };
       
    64     
       
    65 // FUNCTION PROTOTYPES
       
    66 
       
    67 // FORWARD DECLARATIONS
       
    68 class CSmsSettings;
       
    69 class CSmsHeader;
       
    70 
       
    71 // CLASS DECLARATION
       
    72 
       
    73 /**
       
    74 *  SMUM's main sms settings dialog.
       
    75 */
       
    76 class CSmumMainSettingsDialog :
       
    77     public CAknDialog,
       
    78     public MEikListBoxObserver
       
    79     {
       
    80     public:  // Constructors and destructor
       
    81       
       
    82         /**
       
    83         * Two-phased constructor.
       
    84         */
       
    85         IMPORT_C static CSmumMainSettingsDialog* NewL(
       
    86             CSmsSettings& aSettings,
       
    87             TInt aTypeOfSettings,
       
    88             TInt& aExitCode,
       
    89             TInt& aCharSetSupportForSendingOptions,
       
    90             CSmsHeader* aSmsHeader = NULL 
       
    91             );
       
    92     };
       
    93 
       
    94 #endif      // SMUMSETTINGSDIALOG_H   
       
    95 
       
    96 // End of File