Code-style consistency improvement:

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
This commit is contained in:
erwincoumans
2018-09-23 14:17:31 -07:00
parent b73b05e9fb
commit ab8f16961e
1773 changed files with 1081087 additions and 474249 deletions

View File

@@ -13,31 +13,31 @@
namespace Gwen
{
namespace Platform
{
//
// Set the system cursor to iCursor
// Cursors are defined in Structures.h
//
void GWEN_EXPORT SetCursor( unsigned char iCursor );
namespace Platform
{
//
// Set the system cursor to iCursor
// Cursors are defined in Structures.h
//
void GWEN_EXPORT SetCursor(unsigned char iCursor);
//
// Used by copy/paste
//
UnicodeString GWEN_EXPORT GetClipboardText();
bool GWEN_EXPORT SetClipboardText( const UnicodeString& str );
//
// Used by copy/paste
//
UnicodeString GWEN_EXPORT GetClipboardText();
bool GWEN_EXPORT SetClipboardText(const UnicodeString& str);
//
// Needed for things like double click
//
float GWEN_EXPORT GetTimeInSeconds();
//
// Needed for things like double click
//
float GWEN_EXPORT GetTimeInSeconds();
//
// System Dialogs ( Can return false if unhandled )
//
bool GWEN_EXPORT FileOpen( const String& Name, const String& StartPath, const String& Extension, Gwen::Event::Handler* pHandler, Event::Handler::FunctionStr fnCallback );
bool GWEN_EXPORT FileSave( const String& Name, const String& StartPath, const String& Extension, Gwen::Event::Handler* pHandler, Event::Handler::FunctionStr fnCallback );
}
//
// System Dialogs ( Can return false if unhandled )
//
bool GWEN_EXPORT FileOpen(const String& Name, const String& StartPath, const String& Extension, Gwen::Event::Handler* pHandler, Event::Handler::FunctionStr fnCallback);
bool GWEN_EXPORT FileSave(const String& Name, const String& StartPath, const String& Extension, Gwen::Event::Handler* pHandler, Event::Handler::FunctionStr fnCallback);
} // namespace Platform
}
} // namespace Gwen
#endif