예제 #1
0
파일: SAction.cpp 프로젝트: Gaerzi/SLADE
/* SActionHandler::~SActionHandler
 * SActionHandler class destructor
 *******************************************************************/
SActionHandler::~SActionHandler()
{
	VECTOR_REMOVE(action_handlers, this);
}
예제 #2
0
/* ExternalEditManager::monitorStopped
 * Called when a FileMonitor is stopped/deleted
 *******************************************************************/
void ExternalEditManager::monitorStopped(ExternalEditFileMonitor* monitor)
{
	if (VECTOR_EXISTS(file_monitors, monitor))
		VECTOR_REMOVE(file_monitors, monitor);
}
예제 #3
0
/* StyleSet::removeEditor
 * Removes [stc] from the current list of text editors
 *******************************************************************/
void StyleSet::removeEditor(TextEditor* stc)
{
	VECTOR_REMOVE(editors, stc);
}