iaupdate/IAD/ui/inc/iaupdatefirsttimeinfo.h
branchRCL_3
changeset 25 7333d7932ef7
parent 0 ba25891c3a9e
child 26 8b7f4e561641
equal deleted inserted replaced
24:5cc91383ab1e 25:7333d7932ef7
     1 /*
     1 /*
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    60     
    60     
    61     /**
    61     /**
    62     * Set Nokia agreement as accepted by an user
    62     * Set Nokia agreement as accepted by an user
    63     */
    63     */
    64     void SetAgreementAcceptedL();
    64     void SetAgreementAcceptedL();
    65     
    65           
    66     /**
       
    67     * Set Nokia agreement as asked (prompted) to an user
       
    68     */
       
    69     void SetAgreementAskedL();
       
    70         
       
    71     /**
    66     /**
    72     * Set automatic update checks as asked (prompted) to an user
    67     * Set automatic update checks as asked (prompted) to an user
    73     */
    68     */
    74     void SetAutomaticUpdatesAskedL();
    69     void SetAutomaticUpdatesAskedL();
    75     
    70             
    76     /**
       
    77     * Time stamp of first check updates form application is stored
       
    78     */
       
    79     void SetFirstTimeIfNotSetL();
       
    80     
       
    81     /**
    71     /**
    82     * Is Nokia agreement of Application Update accepted by an user
    72     * Is Nokia agreement of Application Update accepted by an user
    83     *
    73     *
    84     * @return True value if agreement accepted 
    74     * @return True value if agreement accepted 
    85     */
    75     */
    86     TBool AgreementAcceptedL();
    76     TBool AgreementAcceptedL();
    87     
    77     
    88     /**
    78     /**
    89     * Is Nokia agreement of Application Update already asked 
       
    90     *
       
    91     * @return True value if agreement already asked 
       
    92     */
       
    93     TBool AgreementAskedL();
       
    94     
       
    95     /**
       
    96     * Is activation for automatic update cheks from network already asked 
    79     * Is activation for automatic update cheks from network already asked 
    97     *
    80     *
    98     * @return True value if agreement already asked 
    81     * @return True value if agreement already asked 
    99     */
    82     */
   100     TBool AutomaticUpdateChecksAskedL();  
    83     TBool AutomaticUpdateChecksAskedL();  
   101         
    84         
   102     /**
    85  
   103     * There is a delay (eg. 2 weeks) after first check updates request from an application
       
   104     * when update check is not performed. This method checks is update check delayed. 
       
   105     *
       
   106     * @return True value if agreement accepted 
       
   107     */
       
   108     TBool FirstTimeDelayL();
       
   109 
       
   110 private:
    86 private:
   111 
    87 
   112     /**
    88     /**
   113     * C++ constructor 
    89     * C++ constructor 
   114     */
    90     */
   133 		
   109 		
   134 	TFileName iPath;
   110 	TFileName iPath;
   135 	
   111 	
   136 	TBool iAgreementAccepted;
   112 	TBool iAgreementAccepted;
   137 	
   113 	
   138 	TBool iAgreementAsked;
       
   139 	
       
   140 	TBool iAutomaticUpdateChecksAsked;   
   114 	TBool iAutomaticUpdateChecksAsked;   
   141    
   115    
   142     };
   116     };
   143 
   117 
   144 
   118