equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2009 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 C++ based Class. |
|
15 * CSTFModule used to describe a test module. |
|
16 * |
|
17 */ |
|
18 #ifndef CSTFMODULE_H |
|
19 #define CSTFMODULE_H |
|
20 #include "QString" |
|
21 |
|
22 class CSTFModule |
|
23 { |
|
24 public: |
|
25 CSTFModule(){isActive = true;} |
|
26 CSTFModule(QString name, QString inifile, QString cfgfile) |
|
27 {moduleName = name; iniFile = inifile; configFile = cfgfile; isActive = true;} |
|
28 |
|
29 public: |
|
30 QString& Name(){return moduleName;} |
|
31 QString& IniFile(){return iniFile;} |
|
32 QString& ConfigFile(){return configFile;} |
|
33 bool IsActive(){return isActive;} |
|
34 |
|
35 |
|
36 public: |
|
37 void SetName(const QString& name){moduleName = name; } |
|
38 void SetIniFile(const QString& inifile){iniFile = inifile;} |
|
39 void SetConfigFile(const QString& cfgfile){configFile = cfgfile;} |
|
40 void SetActive(const bool active) {isActive = active;} |
|
41 |
|
42 private: |
|
43 QString moduleName; |
|
44 QString iniFile; |
|
45 QString configFile; |
|
46 bool isActive; |
|
47 |
|
48 |
|
49 }; |
|
50 #endif // CSTFMODULE_H |
|