/*
 * Ledcontrol.java
 *
 * Ez az osztaly a felepiteset (metodusok neve , konstansok neve, erteke) tekintve  megegyezik a
 * Siemens M55 java api-jaban megtalalhato com.siemens.mp.m55.Ledcontrol osztallyal.
 * A kulonbseg csupan annyi, hogy a metodusok nem native-kent vannak deklaralva, igy az
 * ezen osztalyt hasznalo programok nem villogtatjak az M55 oldalan levo ledeket, emiatt
 * a programok nem csak M55-on futtathatoak.
 *
 * ZnOS
 * [ znos (kukac) freemail pont hu ]
 * 2004
 *
 */

package com.siemens.mp.m55;

/**
 * Ledcontrol Class is used to control TOP/BOTTOM LED blinking. 
 * Note: This API is only available on M55 mobile phone!
 */
public class Ledcontrol /*extends java.lang.Object*/ {
	
    /** This is the unique value for the upper LED. */
    public static final int LED_TOP = 0;
    /** This is the unique value for the lower LED. */
    public static final int LED_BOTTOM = 1;
    /** An available pattern. */
    public static final int P_SPEED = 0;
    /** An available pattern. */
    public static final int P_LIGHTHOUSE = 1;
    /** An available pattern. */
    public static final int P_WAVE = 2;
    /** An available pattern. */
    public static final int P_BEAT = 3;
    /** An available pattern. */
    public static final int P_RUNWAY = 4;
    /** An available pattern. */
    public static final int P_TRANCE = 5;
    /** An available pattern. */
    public static final int P_ETERNITY = 6;
    /** An available pattern. */
    public static final int P_STROBO = 7;
    /** An available pattern. */
    public static final int P_LIMELIGHT = 8;
    /** An available pattern. */
    public static final int P_NORMAL_BLINKING = 9;
    /** An available pattern. */
    public static final int P_PULSATING = 10;
    /** An available pattern. */
    public static final int P_CONSTANLY_LITEUP = 11;
    /** An available pattern. */
    public static final int P_IDLE = 12;

    private Ledcontrol() {}

    /** This function will switch on the indicated LED. */
    public static /*native*/ void switchON(int led) {}
    
    /** This function will switch off the indicated LED. */ 
    public static /*native*/ void switchOFF(int led) {}
    
    /** This function can be used to play a pattern. */
    public static /*native*/ void playPattern(int pattern) {}
    
    /** This function will switch off all the LEDs. */
    public static /*native*/ void stopPattern() {}
    
}


