2023-02-05 23:01:01 +01:00
|
|
|
|
//===== Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ======//
|
|
|
|
|
//
|
|
|
|
|
// Purpose:
|
|
|
|
|
//
|
|
|
|
|
// $NoKeywords: $
|
|
|
|
|
//===========================================================================//
|
|
|
|
|
#include "core/stdafx.h"
|
2023-05-10 00:05:38 +02:00
|
|
|
|
#include "common/completion.h"
|
2023-02-05 23:01:01 +01:00
|
|
|
|
#include "autocompletefilelist.h"
|
|
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
// Purpose: Fills in a list of commands based on specified subdirectory and extension into the format:
|
|
|
|
|
// commandname subdir/filename.ext
|
|
|
|
|
// commandname subdir/filename2.ext
|
|
|
|
|
// Returns number of files in list for autocompletion
|
|
|
|
|
//-----------------------------------------------------------------------------
|
2023-02-19 13:26:38 +01:00
|
|
|
|
int CBaseAutoCompleteFileList::AutoCompletionFunc(const char* partial, char commands[COMMAND_COMPLETION_MAXITEMS][COMMAND_COMPLETION_ITEM_LENGTH])
|
2023-02-05 23:01:01 +01:00
|
|
|
|
{
|
2024-01-02 15:21:36 +01:00
|
|
|
|
return CBaseAutoCompleteFileList__AutoCompletionFunc(this, partial, commands);
|
2023-02-05 23:01:01 +01:00
|
|
|
|
}
|