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 |
|
|
16 |
import java.util.List;
|
|
17 |
|
|
18 |
import com.nokia.carbide.cpp.sdk.core.IBSFCatalog;
|
|
19 |
import com.nokia.carbide.cpp.sdk.core.ISBVCatalog;
|
|
20 |
import com.nokia.carbide.cpp.sdk.core.ISDKBuildInfo;
|
|
21 |
|
|
22 |
/**
|
|
23 |
* Interface for SBSv1 specific build information.
|
|
24 |
*
|
|
25 |
*/
|
|
26 |
public interface ISBSv1BuildInfo extends ISDKBuildInfo {
|
|
27 |
|
|
28 |
// Family Ids don't include the vendor
|
|
29 |
public static final String SERIES60_FAMILY_ID = "series60"; //deprecated
|
|
30 |
public static final String S60_FAMILY_ID = "s60";
|
|
31 |
public static final String S80_FAMILY_ID = "Series80";
|
|
32 |
public static final String UIQ_FAMILY_ID = "UIQ";
|
|
33 |
public static final String TECHVIEW_FAMILY_ID = "TechView";
|
|
34 |
public static final String SYMBIAN_FOUNDATION_FAMILY_ID = "symbian"; // Symbian Foundation, starting with Symbian^3
|
|
35 |
|
|
36 |
// Unique Ids include the vendor
|
|
37 |
public static final String SERIES60_SDK_NAME = "com.nokia." + SERIES60_FAMILY_ID;
|
|
38 |
public static final String S60_SDK_NAME = "com.nokia." + S60_FAMILY_ID;
|
|
39 |
public static final String NOKIA_SF_SDK_NAME = "com.nokia." + SYMBIAN_FOUNDATION_FAMILY_ID; // Nokia+Symbian Foundation SDK
|
|
40 |
public static final String S80_SDK_NAME = "com.nokia." + S80_FAMILY_ID;
|
|
41 |
public static final String UIQ_SDK_NAME = "com.symbian." + UIQ_FAMILY_ID;
|
|
42 |
public static final String TECHVIEW_SDK_NAME = "com.symbian." + TECHVIEW_FAMILY_ID;
|
|
43 |
|
|
44 |
public static final String PUBLISHER_NOKIA = "Nokia, Inc.";
|
|
45 |
public static final String PUBLISHER_UIQ = "UIQ Technology";
|
|
46 |
public static final String PUBLISHER_SYMBIAN = "Symbian, Ltd.";
|
|
47 |
|
1462
|
48 |
void clearPlatformMacros();
|
|
49 |
|
|
50 |
/**
|
|
51 |
* Returns the list of all available platforms for a SDK.
|
|
52 |
* @return a list of platform names which may be empty.
|
|
53 |
*/
|
|
54 |
List<String> getAvailablePlatforms();
|
|
55 |
|
|
56 |
/**
|
|
57 |
* Get the BSF catalog for a SDK.
|
|
58 |
*/
|
|
59 |
IBSFCatalog getBSFCatalog();
|
|
60 |
|
1434
|
61 |
/**
|
|
62 |
* Returns the list of all platform macros for a SDK.
|
|
63 |
* <p>
|
|
64 |
* This is somewhat equivalent to calling "bldmake plat" on the command line
|
|
65 |
* These are the macros that can be used in MMP and INF files. They are only given by name (no value)
|
|
66 |
* </p>
|
|
67 |
* @param platform the platform name
|
|
68 |
* @return a list of macros, which may be empty.
|
|
69 |
*/
|
1462
|
70 |
List<String> getPlatformMacros(String platform);
|
|
71 |
|
|
72 |
/**
|
|
73 |
* Get the Symbian Binary Variation (SBV) catalog for a SDK.
|
|
74 |
*/
|
|
75 |
ISBVCatalog getSBVCatalog();
|
|
76 |
|
|
77 |
/**
|
|
78 |
* Get a list of macros specific to the given target type, e.g. "__EXE__" or "__DLL__"
|
|
79 |
* @param targettype
|
|
80 |
* @return list of macro strings, may be empty
|
|
81 |
*/
|
|
82 |
List<String> getTargetTypeMacros(String targettype);
|
1434
|
83 |
|
|
84 |
/**
|
|
85 |
* Get a list of macros that are used to distinguish a SDK. Typically only
|
|
86 |
* S603rd edition SDKs contain this information and it's used to differentiate between
|
|
87 |
* varios S60 SDK releases. Other vendors, such as UIQ may put their macros in the variant HRH file.
|
|
88 |
* @return A list of macros just returned by name.
|
|
89 |
*/
|
1462
|
90 |
public List<String> getVendorSDKMacros();
|
1434
|
91 |
|
|
92 |
/**
|
1462
|
93 |
* Tells whether or not the plug-in installer has sniffed this SDK for eclipse plug-ins to install.
|
|
94 |
* @return true if the SDK was scanned
|
1434
|
95 |
*/
|
1462
|
96 |
boolean isPreviouslyScanned();
|
1434
|
97 |
|
|
98 |
/**
|
|
99 |
* Tell if the SDK is Series60.
|
|
100 |
* @return true if the SDK is Series60
|
|
101 |
*/
|
1462
|
102 |
boolean isS60();
|
1434
|
103 |
|
1462
|
104 |
void setPreviouslyScanned(boolean wasScanned);
|
1434
|
105 |
|
|
106 |
}
|