1// BEGIN LICENSE BLOCK 2// Version: CMPL 1.1 3// 4// The contents of this file are subject to the Cisco-style Mozilla Public 5// License Version 1.1 (the "License"); you may not use this file except 6// in compliance with the License. You may obtain a copy of the License 7// at www.eclipse-clp.org/license. 8// 9// Software distributed under the License is distributed on an "AS IS" 10// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See 11// the License for the specific language governing rights and limitations 12// under the License. 13// 14// The Original Code is The ECLiPSe Constraint Logic Programming System. 15// The Initial Developer of the Original Code is Cisco Systems, Inc. 16// Portions created by the Initial Developer are 17// Copyright (C) 2006 Cisco Systems, Inc. All Rights Reserved. 18// 19// Contributor(s): Joachim Schimpf, CrossCore Optimization 20// END LICENSE BLOCK 21 22//Title: Java/ECLiPSe interface 23//Version: $Id: Platform_i386_sunos5.java,v 1.1 2006/09/23 01:54:11 snovello Exp $ 24//Description: Encapsulated Singleton for platform-dependent code (SunOS-5 on x86 25// architecture). 26package com.parctechnologies.eclipse; 27 28class Platform_i386_sunos5 extends Platform_UNIX 29{ 30 public boolean supportsEmbeddedEclipse() 31 { 32 return(true); 33 } 34 public boolean supportsOutOfProcessEclipse() 35 { 36 return(true); 37 } 38 39 private final String ECLIPSE_PLATFORM_NAME = "i386_sunos5"; 40 String getEclipsePlatformName() 41 { 42 return(ECLIPSE_PLATFORM_NAME); 43 } 44 private final String SHARED_LIBRARY_EXTENSION = "so"; 45 String getSharedLibraryExtension() 46 { 47 return(SHARED_LIBRARY_EXTENSION); 48 } 49} 50