/*
 * This is the source code of Telegram for Android v. 2.x.x.
 * It is licensed under GNU GPL v. 2 or later.
 * You should have received a copy of the license in this archive (see LICENSE).
 *
 * Copyright Nikolai Kudashov, 2013-2015.
 */

package org.telegram.messenger;

import java.util.HashMap;

public class Action {
    public interface ActionDelegate {
        void ActionDidFinishExecution(Action action, HashMap<String, Object> params);
        void ActionDidFailExecution(Action action);
    }

    public ActionDelegate delegate;

    public void execute(HashMap params) {

    }

    public void cancel() {

    }
}
