blob: 11465942e26fd6fee6701f394d726af5467ca6b2 [file] [log] [blame]
package org.eclipse.swt.internal.motif;
/*
* Copyright (c) 2000, 2002 IBM Corp. All rights reserved.
* This file is made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*/
public class CDE extends OS {
public static final String DtDTS_DA_ACTION_LIST = "ACTIONS";
public static final String DtDTS_DA_ICON = "ICON";
public static final String DtDTS_DA_MIME_TYPE = "MIME_TYPE";
public static final String DtDTS_DA_NAME_TEMPLATE = "NAME_TEMPLATE";
public static final native boolean DtAppInitialize(
int appContext,
int display,
int topWiget,
byte[] appName,
byte[] appClass );
public static final native void DtDbLoad();
public static final native int DtDtsDataTypeNames();
public static final native int DtDtsFileToDataType( byte[] fileName );
public static final native boolean DtDtsDataTypeIsAction( byte[] dataType );
public static final native int DtDtsDataTypeToAttributeValue(
byte[] dataType,
byte[] attrName,
byte[] optName );
public static final native void DtDtsFreeDataType(int dataType);
public static final native void DtDtsFreeDataTypeNames( int dataTypeList );
public static final native void DtDtsFreeAttributeValue( int attrValue );
public static final native int DtActionInvoke(
int topWidget,
byte[] action,
byte[] fileName, // TBD: argument should be: DtActionArg[] args
int argCount,
byte[] termOpts,
byte[] execHost,
byte[] contextDir,
int useIndicator,
int callback,
int clientData );
// Utility methods for processing CDE related structures.
public static final native int listElementAt( int nameList, int index );
}