mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-26 21:16:13 +01:00
Fixed enum declaration errors (C++ style) in sfHttp and sfFtp
This commit is contained in:
1 parent
bfebe0aab4
commit
8f722ad0fc
2 files changed
+8
-8
No files matched your search
@@ -38,19 +38,19 @@
|
||||
/// \brief Enumeration of transfer modes
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
enum sfFtpTransferMode
|
||||
typedef enum
|
||||
{
|
||||
sfFtpBinary, ///< Binary mode (file is transfered as a sequence of bytes)
|
||||
sfFtpAscii, ///< Text mode using ASCII encoding
|
||||
sfFtpEbcdic ///< Text mode using EBCDIC encoding
|
||||
};
|
||||
} sfFtpTransferMode;
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Status codes possibly returned by a FTP response
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
enum sfFtpStatus
|
||||
typedef enum
|
||||
{
|
||||
// 1xx: the requested action is being initiated,
|
||||
// expect another reply before proceeding with a new command
|
||||
@@ -110,7 +110,7 @@ enum sfFtpStatus
|
||||
sfFtpConnectionFailed = 1001, ///< Connection with server failed
|
||||
sfFtpConnectionClosed = 1002, ///< Connection with server closed
|
||||
sfFtpInvalidFile = 1003 ///< Invalid file to upload / download
|
||||
};
|
||||
} sfFtpStatus;
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in new issue
Block a user