devicesrv_pub/version_info_api/inc/versioninfo.h
changeset 78 3f0699f2e14c
parent 0 4e1aa6a622a0
equal deleted inserted replaced
77:8a984d260a2d 78:3f0699f2e14c
     1 /*
     1 /*
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2007-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".
    81         TInt iType;
    81         TInt iType;
    82         };
    82         };
    83 
    83 
    84     /**
    84     /**
    85     * Class TPlatformVersion stores platform version information.
    85     * Class TPlatformVersion stores platform version information.
    86     * The class is used as parameter in GetVersionInfo() methods.
    86     * The class is used as parameter in GetVersion() methods.
    87     * @since S60 3.2
    87     * @since S60 3.2
    88     */
    88     */
    89     class TPlatformVersion : public TVersionBase
    89     class TPlatformVersion : public TVersionBase
    90         {
    90         {
    91     public:
    91     public:
    93          * C++ default constructor.
    93          * C++ default constructor.
    94         */
    94         */
    95         inline TPlatformVersion();
    95         inline TPlatformVersion();
    96 
    96 
    97     public:
    97     public:
    98         /**  Contains the major version. For example 3 if S60 3.2 */
    98         /**  Contains the major version. For example 4 for Symbian^4 */
    99         TUint16 iMajorVersion;
    99         TUint16 iMajorVersion;
   100 
   100 
   101         /**  Contains the minor version. For example 2 if S60 3.2 */
   101         /**  Contains the minor version. For example 0 for Symbian^4 */
   102         TUint16 iMinorVersion;
   102         TUint16 iMinorVersion;
   103         };
   103         };
   104 
   104 
   105     /**
   105     /**
   106     * This method gets the version information.
   106     * This method gets the version information.