62
|
1 |
/*
|
|
2 |
* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description: QT Bindings for TMS
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#ifndef QTMSVER_H
|
|
19 |
#define QTMSVER_H
|
|
20 |
|
|
21 |
// Include files
|
|
22 |
#include <qtms.h>
|
|
23 |
|
|
24 |
namespace QTMS {
|
|
25 |
|
|
26 |
/**
|
|
27 |
* TMSVer class
|
|
28 |
*
|
|
29 |
* Contains TMS version information.
|
|
30 |
*
|
|
31 |
*/
|
|
32 |
class QTMSVer
|
|
33 |
{
|
|
34 |
public:
|
|
35 |
|
|
36 |
/*
|
|
37 |
* Constructor
|
|
38 |
*/
|
|
39 |
QTMSVer();
|
|
40 |
|
|
41 |
/*
|
|
42 |
* Constructor
|
|
43 |
*
|
|
44 |
* @param mjr
|
|
45 |
* Major version number.
|
|
46 |
*
|
|
47 |
* @param mnr
|
|
48 |
* Minor version number.
|
|
49 |
*
|
|
50 |
* @param bld
|
|
51 |
* Build version number.
|
|
52 |
*
|
|
53 |
*/
|
|
54 |
QTMSVer(guint mjr, guint mnr, guint bld) :
|
|
55 |
ver_major(mjr),
|
|
56 |
ver_minor(mnr),
|
|
57 |
ver_build(bld) {}
|
|
58 |
|
|
59 |
public:
|
|
60 |
guint ver_major;
|
|
61 |
guint ver_minor;
|
|
62 |
guint ver_build;
|
|
63 |
};
|
|
64 |
|
|
65 |
} //namespace QTMS
|
|
66 |
|
|
67 |
#endif //QTMSVER_H
|
|
68 |
|