示例#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);
}