1434
|
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 the License "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 |
*/
|
|
13 |
|
|
14 |
package com.nokia.carbide.cpp.internal.api.sdk;
|
|
15 |
|
1462
|
16 |
import org.eclipse.core.runtime.IPath;
|
1434
|
17 |
import org.osgi.framework.Version;
|
|
18 |
|
|
19 |
import com.nokia.carbide.cpp.sdk.core.ISDKBuildInfo;
|
|
20 |
|
|
21 |
/**
|
|
22 |
* Interface for modifying various attributes of Symbian OS SDK.
|
|
23 |
*
|
|
24 |
*/
|
|
25 |
public interface ISymbianSDKModifier {
|
|
26 |
|
|
27 |
/**
|
1462
|
28 |
* Add a feature supported by the SDK.
|
|
29 |
* @param feature supported feature
|
|
30 |
*/
|
|
31 |
void addSupportedFeature(Object feature);
|
|
32 |
|
|
33 |
/**
|
1434
|
34 |
* Sets the build info for a particular builder.
|
|
35 |
* @param buildInfo build info
|
|
36 |
* @param builderId id string of a builder
|
|
37 |
*/
|
|
38 |
void setBuildInfo(ISDKBuildInfo buildInfo, String builderId);
|
|
39 |
|
|
40 |
/**
|
|
41 |
* Marks the SDK as enabled or disabled.
|
|
42 |
* @param enable whether to enable or disable the SDK
|
|
43 |
*/
|
|
44 |
void setEnabled(boolean enable);
|
|
45 |
|
|
46 |
/**
|
1462
|
47 |
* Set the absolute path to the epoc32 directory of this SDK.
|
|
48 |
* @param epocRoot absolute path to the epoc32 directory
|
|
49 |
*/
|
|
50 |
void setEPOCROOT(String epocRoot);
|
|
51 |
|
|
52 |
/**
|
|
53 |
* Sets display name of a SDK. This is the com.vendor.family identifier.
|
|
54 |
* @param name SDK display name
|
|
55 |
*/
|
|
56 |
void setName(String name);
|
|
57 |
|
|
58 |
/**
|
|
59 |
* Sets the OS version string of a SDK.
|
|
60 |
* @param osVer OS version
|
|
61 |
*/
|
|
62 |
public void setOSVersion(Version osVer);
|
|
63 |
|
|
64 |
/**
|
|
65 |
* Sets the prefix file for a particular builder.
|
|
66 |
* @param prefixFile path of prefix file
|
|
67 |
* @param builderId id string of a builder
|
|
68 |
*/
|
|
69 |
void setPrefixFile(IPath prefixFile, String builderId);
|
|
70 |
|
|
71 |
/**
|
|
72 |
* Sets the SDK version string of a SDK.
|
|
73 |
* @param sdkVers SDK version
|
|
74 |
*/
|
|
75 |
void setSDKVersion(Version sdkVers);
|
|
76 |
|
|
77 |
/**
|
1434
|
78 |
* Sets the unique id of a SDK.
|
|
79 |
* @param id id string of a SDK
|
|
80 |
*/
|
|
81 |
void setUniqueId(String id);
|
|
82 |
|
|
83 |
}
|