// Path: robotlegs4android/src/main/java/com/camnter/robotlegs4android/base/Event.java
// public class Event {
// 
//     public static final String ADDED_TO_STAGE = "added_to_stage";
//     public static final String REMOVED_FROM_STAGE = "removed_from_stage";
//     public static final String ENTER_FRAME = "enter_frame";
// 
//     private String _type;
//     private Object _target = null;
//     public Object data;
// 
//     public Event(String type) {
//         this._type = type;
//     }
// 
//     public Event(String type, Boolean bubble, Boolean cancelable) {
//     }
// 
//     public String getType() {
//         return this._type;
//     }
// 
//     public Object getTarget() {
//         return this._target;
//     }
// 
//     public void setTarget(Object target) {
//         this._target = target;
//     }
// 
// }
// 
// Path: app/src/main/java/com/camnter/robotlegs4android/test/bean/User.java
// public class User implements Serializable {
// 
//     public String name;
// 
//     public String sign;
// 
// }


import com.camnter.robotlegs4android.base.Event;
import com.camnter.robotlegs4android.test.bean.User;
/*
 * Copyright (C) 2015 CaMnter 421482590@qq.com
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.camnter.robotlegs4android.test.event;


/**
 * Description：LoginEvent
 * Created by：CaMnter
 * Time：2015-11-07 23:05
 */
public class LoginEvent extends Event {

    public static final String USER_LOGIN = "user_login";
    public static final String USER_LOGOUT = "user_logout";

    public static final String USER_LOGIN_SUCCESS_FROM_MODEL_TO_CONTROLLER = "user_login_success_from_model_to_controller";
    public static final String USER_LOGIN_SUCCESS_FROM_MODEL_TO_VIEW = "user_login_success_from_model_to_view";
    public static final String USER_LOGIN_SUCCESS_FROM_CONTROLLER_TO_VIEW = "user_login_success_from_controller_to_view";

    public String name;
    public String password;

// Path: robotlegs4android/src/main/java/com/camnter/robotlegs4android/base/Event.java
// public class Event {
// 
//     public static final String ADDED_TO_STAGE = "added_to_stage";
//     public static final String REMOVED_FROM_STAGE = "removed_from_stage";
//     public static final String ENTER_FRAME = "enter_frame";
// 
//     private String _type;
//     private Object _target = null;
//     public Object data;
// 
//     public Event(String type) {
//         this._type = type;
//     }
// 
//     public Event(String type, Boolean bubble, Boolean cancelable) {
//     }
// 
//     public String getType() {
//         return this._type;
//     }
// 
//     public Object getTarget() {
//         return this._target;
//     }
// 
//     public void setTarget(Object target) {
//         this._target = target;
//     }
// 
// }
// 
// Path: app/src/main/java/com/camnter/robotlegs4android/test/bean/User.java
// public class User implements Serializable {
// 
//     public String name;
// 
//     public String sign;
// 
// }


// Path: app/src/main/java/com/camnter/robotlegs4android/test/event/LoginEvent.java
import com.camnter.robotlegs4android.base.Event;
import com.camnter.robotlegs4android.test.bean.User;

/*
 * Copyright (C) 2015 CaMnter 421482590@qq.com
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.camnter.robotlegs4android.test.event;


/**
 * Description：LoginEvent
 * Created by：CaMnter
 * Time：2015-11-07 23:05
 */
public class LoginEvent extends Event {

    public static final String USER_LOGIN = "user_login";
    public static final String USER_LOGOUT = "user_logout";

    public static final String USER_LOGIN_SUCCESS_FROM_MODEL_TO_CONTROLLER = "user_login_success_from_model_to_controller";
    public static final String USER_LOGIN_SUCCESS_FROM_MODEL_TO_VIEW = "user_login_success_from_model_to_view";
    public static final String USER_LOGIN_SUCCESS_FROM_CONTROLLER_TO_VIEW = "user_login_success_from_controller_to_view";

    public String name;
    public String password;

    public User user;