Reformatting code using Kernighan & Ritchie style, tabs, tab width=4.

Command line: astyle --style=kr --indent=force-tab=4 --lineend=linux -n -r <file names>
This commit is contained in:
lotodore
2011-02-11 20:02:08 +00:00
parent 29dca1846e
commit 02518c67b2
232 changed files with 22743 additions and 21044 deletions
+4 -6
View File
@@ -42,21 +42,19 @@ public:
bool GetDownloadResult(unsigned &downloadId, std::vector<unsigned char> &filedata);
protected:
struct DownloadData
{
struct DownloadData {
DownloadData() : id(0) {}
DownloadData(unsigned i, const std::string &a, const std::string &f)
: id(i), address(a), filename(f) {}
: id(i), address(a), filename(f) {}
unsigned id;
std::string address;
std::string filename;
};
struct ResultData
{
struct ResultData {
ResultData() : id(0) {}
ResultData(unsigned i, const std::vector<unsigned char> &d)
: id(i), data(d) {}
: id(i), data(d) {}
unsigned id;
std::vector<unsigned char> data;