package com.github.theholywaffle.teamspeak3.api.event;

/*
 * #%L
 * TeamSpeak 3 Java API
 * %%
 * Copyright (C) 2014 Bert De Geyter
 * %%
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 * #L%
 */


import java.util.HashMap;

import com.github.theholywaffle.teamspeak3.api.wrapper.Wrapper;

public class ChannelDeletedEvent extends Wrapper implements TS3EventEmitter,TS3Event {

	public ChannelDeletedEvent(){
		super(null);
	}
	public ChannelDeletedEvent(HashMap<String, String> map){
		super(map);
	}
	public int getChannelId() {
		return getInt("cid");
	}
	
	public void fire(TS3Listener listener, HashMap<String, String> map) {
		listener.onChannelDeleted(new ChannelDeletedEvent(map));
	}

}

@@ -51,19 +51,23 @@
 ent;
-%0A
+%0D%0A%0D
 %0A/*
+%0D
 %0A * #%25L
+%0D
 %0A * 
@@ -86,22 +86,24 @@
 Java API
+%0D
 %0A * %25%25
+%0D
 %0A * Copy
@@ -131,22 +131,24 @@
 e Geyter
+%0D
 %0A * %25%25
+%0D
 %0A * Perm
@@ -219,16 +219,17 @@
 g a copy
+%0D
 %0A * of t
@@ -301,16 +301,17 @@
  to deal
+%0D
 %0A * in t
@@ -382,16 +382,17 @@
 e rights
+%0D
 %0A * to u
@@ -460,16 +460,17 @@
 /or sell
+%0D
 %0A * copi
@@ -534,16 +534,17 @@
 tware is
+%0D
 %0A * furn
@@ -595,20 +595,22 @@
 ditions:
+%0D
 %0A * 
+%0D
 %0A * The 
@@ -679,16 +679,17 @@
 luded in
+%0D
 %0A * all 
@@ -735,20 +735,22 @@
 oftware.
+%0D
 %0A * 
+%0D
 %0A * THE 
@@ -819,16 +819,17 @@
 PRESS OR
+%0D
 %0A * IMPL
@@ -896,16 +896,17 @@
 ABILITY,
+%0D
 %0A * FITN
@@ -976,16 +976,17 @@
 HALL THE
+%0D
 %0A * AUTH
@@ -1051,16 +1051,17 @@
 OR OTHER
+%0D
 %0A * LIAB
@@ -1133,16 +1133,17 @@
 NG FROM,
+%0D
 %0A * OUT 
@@ -1211,16 +1211,17 @@
 LINGS IN
+%0D
 %0A * THE 
@@ -1233,20 +1233,24 @@
 ARE.
+%0D
 %0A * #L%25
+%0D
 %0A */
-%0A
+%0D%0A%0D
 %0A%0D%0Ai

Convert ChannelDeletedEvent line endings from LF to CRLF to match the rest of the project's line endings.