mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
new breakpoint event
This commit is contained in:
parent
41e92b5b2d
commit
c96131a558
3 changed files with 93 additions and 0 deletions
|
@ -0,0 +1,31 @@
|
||||||
|
/*
|
||||||
|
* (c) Copyright QNX Software Systems Ltd. 2002.
|
||||||
|
* All Rights Reserved.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
package org.eclipse.cdt.debug.mi.core.event;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public class MIBreakPointChangedEvent extends MIChangedEvent {
|
||||||
|
|
||||||
|
int no;
|
||||||
|
|
||||||
|
public MIBreakPointChangedEvent(int number) {
|
||||||
|
super(0);
|
||||||
|
no = number;
|
||||||
|
}
|
||||||
|
|
||||||
|
public MIBreakPointChangedEvent(int id, int number) {
|
||||||
|
super(id);
|
||||||
|
no = number;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getNumber() {
|
||||||
|
return no;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,31 @@
|
||||||
|
/*
|
||||||
|
* (c) Copyright QNX Software Systems Ltd. 2002.
|
||||||
|
* All Rights Reserved.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
package org.eclipse.cdt.debug.mi.core.event;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public class MIBreakPointCreatedEvent extends MICreatedEvent {
|
||||||
|
|
||||||
|
int no;
|
||||||
|
|
||||||
|
public MIBreakPointCreatedEvent(int number) {
|
||||||
|
super(0);
|
||||||
|
no = number;
|
||||||
|
}
|
||||||
|
|
||||||
|
public MIBreakPointCreatedEvent(int id, int number) {
|
||||||
|
super(id);
|
||||||
|
no = number;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getNumber() {
|
||||||
|
return no;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,31 @@
|
||||||
|
/*
|
||||||
|
* (c) Copyright QNX Software Systems Ltd. 2002.
|
||||||
|
* All Rights Reserved.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
package org.eclipse.cdt.debug.mi.core.event;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public class MIBreakPointDeletedEvent extends MIDestroyedEvent {
|
||||||
|
|
||||||
|
int no;
|
||||||
|
|
||||||
|
public MIBreakPointDeletedEvent(int number) {
|
||||||
|
super(0);
|
||||||
|
no = number;
|
||||||
|
}
|
||||||
|
|
||||||
|
public MIBreakPointDeletedEvent(int id, int number) {
|
||||||
|
super(id);
|
||||||
|
no = number;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getNumber() {
|
||||||
|
return no;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue