cmapplicationsettingsui.h

Go to the documentation of this file.
00001 /*
00002 
00003 * ============================================================================
00004 
00005 *  Name        : cmapplicationsettingsui.h
00006 
00007 *  Part of     : Networking Utilities / Connection Method Manager
00008 
00009 *  Description : 
00010 
00011 *  Version     : %version: 11 %
00012 
00013 *
00014 
00015 *  Copyright © 2006 Nokia.  All rights reserved.
00016 
00017 *  This material, including documentation and any related computer
00018 
00019 *  programs, is protected by copyright controlled by Nokia.  All
00020 
00021 *  rights are reserved.  Copying, including reproducing, storing,
00022 
00023 *  adapting or translating, any or all of this material requires the
00024 
00025 *  prior written consent of Nokia.  This material also contains
00026 
00027 *  confidential information which may not be disclosed to others
00028 
00029 *  without the prior written consent of Nokia.
00030 
00031 * ============================================================================
00032 
00033 */
00034 
00035 #ifndef C_CMAPPLICATIONSETTINGSUI_H
00036 
00037 #define C_CMAPPLICATIONSETTINGSUI_H
00038 
00039 
00040 
00041 #include <E32def.h>
00042 
00043 #include <e32base.h>
00044 
00045 
00046 
00047 class CCmConnSettingsUiImpl;
00048 
00049 namespace CMManager
00050 
00051     {
00052 
00053     
00054 
00073     const TInt KErrConnectionNotFound = -32700;
00074 
00075     
00076 
00083     enum TCmSettingSelectionMode
00084 
00085         {
00086 
00087         EAlwaysAsk,         
00093         EDestination,       
00099         EConnectionMethod,  
00105         EDefaultConnection // The user selected Default Connection 
00106 
00107 
00108 
00109         };
00110 
00111         
00112 
00113     
00114 
00127     enum TCmSelectionDialogItems
00128 
00129         {
00130 
00131         EShowAlwaysAsk = 0x01,          
00139         EShowDefaultConnection = 0x02,  
00187         EShowDestinations = 0x04,       
00199         EShowConnectionMethods = 0x08,  
00215         };    
00216 
00217         
00218 
00219     }// namespace CMManger
00220 
00221 
00222 
00223 
00224 
00225     // Structs
00226 
00227     
00228 
00239 NONSHARABLE_STRUCT( TCmSettingSelection )
00240 
00241     {
00242 
00249     CMManager::TCmSettingSelectionMode iResult;
00250 
00251     
00252 
00259     TUint iId;
00260 
00261     };
00262 
00263 
00264 
00283 typedef RArray<TUint32> TBearerFilterArray;
00284 
00285 
00286 
00303 NONSHARABLE_CLASS( CCmApplicationSettingsUi ) : public CBase
00304 
00305     {
00306 
00307 
00308 
00309     public: // construction/destruction
00310 
00311 
00312 
00315         IMPORT_C static CCmApplicationSettingsUi* NewL();
00316 
00317 
00318 
00325         IMPORT_C static CCmApplicationSettingsUi* NewLC();
00326 
00327 
00328 
00331         virtual ~CCmApplicationSettingsUi();
00332 
00333 
00334 
00335     //=======================================================================
00336 
00337     // UI API
00338 
00339     //
00340 
00341     public:
00342 
00343 
00344 
00374         IMPORT_C TBool RunApplicationSettingsL( 
00375 
00376                                         TCmSettingSelection& aSelection );
00377 
00378 
00379 
00543         IMPORT_C TBool RunApplicationSettingsL( 
00544 
00545                                         TCmSettingSelection& aSelection, 
00546 
00547                                         TUint aListItems,
00548 
00549                                         TBearerFilterArray& aFilterArray);
00550 
00551 
00552 
00553     private:
00554 
00555 
00556 
00559         CCmApplicationSettingsUi();
00560 
00561 
00562 
00572         void ConstructL();
00573 
00574 
00575 
00576     private: // data
00577 
00578 
00579 
00586         CCmConnSettingsUiImpl* iImpl;    
00587 
00588     };
00589 
00590 
00591 
00592 // C_CMAPPLICATIONSETTINGSUI_H
00593 
00594 #endif

Copyright © Nokia Corporation 2001-2008
Back to top