formatting cleanup

This commit is contained in:
Chris Danford
2004-06-06 23:26:43 +00:00
parent baa6a9282f
commit 3e036b7bf8
@@ -7,7 +7,7 @@ struct UsbStorageDevice
void MakeBlank() void MakeBlank()
{ {
// -1 means "don't know" // -1 means "don't know"
iBus = -1; iBus = -1;
iPort = -1; iPort = -1;
iLevel = -1; iLevel = -1;
@@ -22,10 +22,10 @@ struct UsbStorageDevice
int iLevel; int iLevel;
CString sSerial; CString sSerial;
int iScsiIndex; int iScsiIndex;
CString sScsiDevice; CString sScsiDevice;
CString sOsMountDir; // WITHOUT trailing slash CString sOsMountDir; // WITHOUT trailing slash
CString sName; // Name in the profile on the memory card. CString sName; // Name in the profile on the memory card.
// This is passed here because it's read in the mounting thread. // This is passed here because it's read in the mounting thread.
bool IsBlank() { return sOsMountDir.empty(); } bool IsBlank() { return sOsMountDir.empty(); }
@@ -40,10 +40,10 @@ struct UsbStorageDevice
return true; return true;
#undef COMPARE #undef COMPARE
} }
bool operator!=(const UsbStorageDevice& other) const bool operator!=(const UsbStorageDevice& other) const
{ {
return !operator==(other); return !operator==(other);
} }
}; };
class MemoryCardDriver class MemoryCardDriver
@@ -64,27 +64,27 @@ public:
#endif #endif
/* /*
* (c) 2003-2004 Chris Danford * (c) 2003-2004 Chris Danford
* All rights reserved. * All rights reserved.
* *
* Permission is hereby granted, free of charge, to any person obtaining a * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the * copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including * "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish, * without limitation the rights to use, copy, modify, merge, publish,
* distribute, and/or sell copies of the Software, and to permit persons to * distribute, and/or sell copies of the Software, and to permit persons to
* whom the Software is furnished to do so, provided that the above * whom the Software is furnished to do so, provided that the above
* copyright notice(s) and this permission notice appear in all copies of * copyright notice(s) and this permission notice appear in all copies of
* the Software and that both the above copyright notice(s) and this * the Software and that both the above copyright notice(s) and this
* permission notice appear in supporting documentation. * permission notice appear in supporting documentation.
* *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT
* OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
* OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */