epos_tposlmdatabasesettings.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : EPos_TPosLmDatabaseSettings.h
00004 *  Part of     : Mobile Location Framework/Landmarks
00005 *  Interface   : SDK/S60, Landmarks API
00006 *  Description : TPosLmDatabaseSettings class
00007 *  Version     : %version: 2 % 
00008 *
00009 *  Copyright © 2005-2006 Nokia.  All rights reserved.
00010 *  This material, including documentation and any related computer
00011 *  programs, is protected by copyright controlled by Nokia.  All
00012 *  rights are reserved.  Copying, including reproducing, storing,
00013 *  adapting or translating, any or all of this material requires the
00014 *  prior written consent of Nokia.  This material also contains
00015 *  confidential information which may not be disclosed to others
00016 *  without the prior written consent of Nokia.
00017 * ============================================================================
00018 * Template version: 4.0
00019 */
00020 
00021 #ifndef TPOSLMDATABASESETTINGS_H
00022 #define TPOSLMDATABASESETTINGS_H
00023 
00024 #include <e32std.h>
00025 
00026 const TInt KPosLmDatabaseName = 64;
00027 #define KPOSLMDATABASESETTINGSRESERVEDSIZE 31
00028 
00029 typedef TBuf<KPosLmDatabaseName> TPosLmDatabaseName;
00030 
00049 class TPosLmDatabaseSettings
00050     {
00051     public:
00052 
00057         enum TAttribute
00058             {
00059             EName = 0x01                 
00061             };
00062 
00063     public:
00064 
00068         IMPORT_C TPosLmDatabaseSettings();
00069 
00070 
00071     public:
00072 
00079         IMPORT_C TBool IsAttributeSet( TAttribute aDbAttribute ) const;
00080 
00091         IMPORT_C void UnsetAttribute( TAttribute aDbAttribute );
00092 
00101         IMPORT_C TPtrC DatabaseName() const;
00102 
00111         IMPORT_C void SetDatabaseName( const TPosLmDatabaseName& aDatabaseName );
00112 
00113     private:
00114 
00115         TUint8 iAttributes;
00116         TPosLmDatabaseName iName;
00117         TUint8 iReserved[KPOSLMDATABASESETTINGSRESERVEDSIZE];
00118 
00119     };
00120 
00121 // TPOSLMDATABASESETTINGS_H
00122 #endif
00123 
00124 

Copyright © Nokia Corporation 2001-2008
Back to top