Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

CompilerCommand * CompilerQueue::Next (  )

Get the next command in queue. If from is NULL, returns the top command. If from is not NULL, the command following from is returned. if remove is true (default), the command is removed from the list. This means that the caller must delete it.

Definition at line 74 of file compiler_defs.cpp.

References CompilerCommand::isRun.

    wxCompilerCommandsNode* node = m_Commands.GetFirst();
    if (!node)
        return 0;
    CompilerCommand* cmd = node->GetData();
    m_LastWasRun = cmd ? cmd->isRun : false;
    return cmd;

Generated by  Doxygen 1.6.0   Back to index