Apply clang-format-all.sh using the _clang-format file through all the cpp/.h files. make sure not to apply it to certain serialization structures, since some parser expects the * as part of the name, instead of type. This commit contains no other changes aside from adding and applying clang-format-all.sh
24 lines
584 B
C++
24 lines
584 B
C++
/*
|
|
GWEN
|
|
Copyright (c) 2010 Facepunch Studios
|
|
See license in Gwen.h
|
|
*/
|
|
|
|
#include "Gwen/Gwen.h"
|
|
#include "Gwen/Platform.h"
|
|
#include "Gwen/Controls/Dialogs/FileOpen.h"
|
|
|
|
using namespace Gwen;
|
|
using namespace Gwen::Dialogs;
|
|
|
|
void Gwen::Dialogs::FileOpenEx(bool bUseSystem, const String& Name, const String& StartPath, const String& Extension, Gwen::Event::Handler* pHandler, Gwen::Event::Handler::FunctionStr fnCallback)
|
|
{
|
|
if (bUseSystem && Gwen::Platform::FileOpen(Name, StartPath, Extension, pHandler, fnCallback))
|
|
{
|
|
return;
|
|
}
|
|
|
|
//
|
|
// TODO: SHOW GWEN FILE SELECTION DIALOG
|
|
//
|
|
} |