web_plat/webutils_api/inc/CUserAgent.h
changeset 13 10e98eab6f85
parent 0 dd21522fd290
child 74 91031d3aab7d
equal deleted inserted replaced
8:7c90e6132015 13:10e98eab6f85
   108 		void ReadMMSUserAgentStringL();
   108 		void ReadMMSUserAgentStringL();
   109 		void ReadURLUserAgentProfileL();
   109 		void ReadURLUserAgentProfileL();
   110 		
   110 		
   111 		bool IsUAStringEmpty(const TPtr &aUAString);
   111 		bool IsUAStringEmpty(const TPtr &aUAString);
   112 		TInt GetCenRepFragment(TUserAgentStringKeys aFragmentType, TDes& fragmentValue);
   112 		TInt GetCenRepFragment(TUserAgentStringKeys aFragmentType, TDes& fragmentValue);
   113 		void GetFragmentsL();
   113     void GetFragmentsL();
   114 		void ReadAndCreateUAStringL(TPtr &aUAStringPtr);
   114     void GetMMSFragmentsL();
   115 		
   115     void ReadAndCreateUAStringL(TPtr &aUAStringPtr);
   116 		
   116         
       
   117         
   117 #ifdef BRDO_BROWSER_50_FF
   118 #ifdef BRDO_BROWSER_50_FF
   118 		void GetFragmentsFromOSExtL();
   119         void GetFragmentsFromOSExtL();
   119 		TInt GetOSExtFragment(TUserAgentStringKeys aFragmentType, TDes& fragmentValue, RFs& fs);
   120         TInt GetOSExtFragment(TUserAgentStringKeys aFragmentType, TDes& fragmentValue, RFs& fs);
   120 		/**
   121         /**
   121         * Gets the Version Values from osext layer / central repository
   122         * Gets the Version Values from osext layer / central repository
   122         */
   123         */
   123 		TInt GetOSVersion(TDes& aValue, RFs& aFs);
   124         TInt GetOSVersion(TDes& aValue, RFs& aFs);
   124 		TInt GetS60Version(TDes& aValue, RFs& aFs);
   125         TInt GetS60Version(TDes& aValue, RFs& aFs);
   125 		TInt GetVersion(const SysVersionInfo::TVersionInfoType aType, TDes& aValue);
   126         TInt GetVersion(const SysVersionInfo::TVersionInfoType aType, TDes& aValue);
   126 		TInt GetHardwareVersion(TDes& aHardwareType, RFs& aFs);
   127         TInt GetHardwareVersion(TDes& aHardwareType, RFs& aFs);
   127 #endif //#ifdef BRDO_BROWSER_50_FF		
   128 #endif //#ifdef BRDO_BROWSER_50_FF      
   128 
   129 
   129 		void GetBrowserVersionL();
   130         void GetBrowserVersionL();
   130 		void GetBrowserNameAndVersionL();
   131         void GetBrowserNameAndVersionL();
   131 		
   132         
   132 	private:		//data
   133     private:        //data
   133 
   134 
   134 	 	CRepository* iRepository;
   135         CRepository* iRepository;
   135 
   136 
   136 	 	TBool	iUAStrQueried;
   137         TBool   iUAStrQueried;
   137 	 	TBool	iMMSUAStrQueried;
   138         TBool   iMMSUAStrQueried;
   138 	 	TBool	iURLUAProfQueried;
   139         TBool   iURLUAProfQueried;
   139 
   140 
   140 		HBufC*	iBrowserCenrepStr;
   141         HBufC*  iBrowserCenrepStr;
   141 		HBufC*	iMMSCenrepStr;
   142         HBufC*  iMMSCenrepStr;
   142 		HBufC*	iUAProfURL;
   143         HBufC*  iUAProfURL;
   143 		HBufC*	iUAProfURL3G;
   144         HBufC*  iUAProfURL3G;
   144 		
   145         
   145 		TBuf<64> iSymbianVersion;
   146         TBuf<64> iSymbianVersion;
   146 		TBuf<64> iS60Version;
   147         TBuf<64> iS60Version;
   147 		TBuf<64> iMIDPCLDCVersion;
   148         TBuf<64> iMIDPCLDCVersion;
   148 		TBuf<64> iHardwareType;
   149         TBuf<64> iHardwareType;
       
   150         TBuf<64> iMMSS60Version;
       
   151         TBuf<64> iMMSMIDPVersion;
       
   152         TBuf<64> iMMSCLDCVersion;
       
   153         TBuf<64> iMMSHardwareType;
   149 
   154 
   150 		HBufC*	iBrowserVersionStr;
   155         HBufC*  iBrowserVersionStr;
   151 		HBufC*	iBrowserNameAndVersionStr;
   156         HBufC*  iBrowserNameAndVersionStr;
   152 
   157 
   153    };
   158    };
   154 
   159 
   155 
   160 
   156 #endif // __CUSERAGENT_H
   161 #endif // __CUSERAGENT_H