errors with header file

i am getting the following errors when trying to compile my half life 2 modification can anyone help me fix them below is my error log and attached is the player.h file which i think is causing the problem.

-- Build started: Project: client_hl2mp, Configuration: Release HL2MP Win32 --
Compiling...
baseviewport.cpp
Linking...
tier2.lib(tier2.obj) : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
Creating library Release HL2MP/client.lib and object Release HL2MP/client.exp
tier2.lib(MaterialSystemUtil.obj) : warning LNK4204: 'c:\SOF3\src\cl_dll\Release HL2MP\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
tier2.lib(tier2.obj) : warning LNK4204: 'c:\SOF3\src\cl_dll\Release HL2MP\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
Embedding manifest...
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.50727
Copyright (C) Microsoft Corporation. All rights reserved.
Copying to destination folder
1 file(s) copied.
1 file(s) copied.
Build log was saved at "file://c:\SOF3\src\cl_dll\Release HL2MP\BuildLog.htm"
client_hl2mp - 0 error(s), 3 warning(s)
-- Build started: Project: server_hl2mp, Configuration: Release HL2MP Win32 --
Compiling...
stdafx.cpp
c:\sof3\src\dlls\player.h(1114) : error C2059: syntax error : 'private'
c:\sof3\src\dlls\player.h(1114) : error C2143: syntax error : missing ';' before ':'
c:\sof3\src\dlls\player.h(1114) : error C2059: syntax error : ':'
c:\sof3\src\dlls\player.h(1117) : error C2059: syntax error : 'public'
c:\sof3\src\dlls\player.h(1120) : error C2059: syntax error : '}'
c:\sof3\src\dlls\player.h(1120) : error C2143: syntax error : missing ';' before '}'
c:\sof3\src\dlls\player.h(1120) : error C2059: syntax error : '}'
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.50727
Copyright (C) Microsoft Corporation. All rights reserved.
Build log was saved at "file://c:\SOF3\src\dlls\Release HL2MP\BuildLog.htm"
server_hl2mp - 7 error(s), 0 warning(s)
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
[2498 byte] By [promith] at [2007-11-20 10:30:00]
# 1 Re: errors with header file
there's obviously missing header of class... instead of current
enum
{
VEHICLE_ANALOG_BIAS_NONE = 0,
VEHICLE_ANALOG_BIAS_FORWARD,
VEHICLE_ANALOG_BIAS_REVERSE,

}
private:
int m_iClass;

public:
void ChangeClass(int NewClass) {m_iClass = NewClass;}
int GetClass() {return m_iClass; }
};
it should read smth like:
enum
{
VEHICLE_ANALOG_BIAS_NONE = 0,
VEHICLE_ANALOG_BIAS_FORWARD,
VEHICLE_ANALOG_BIAS_REVERSE,

}

class myClass { // <- this is added!
private:
int m_iClass;

public:
void ChangeClass(int NewClass) {m_iClass = NewClass;}
int GetClass() {return m_iClass; }
};

another possibility is, that someone copied this piece of code here just as information while working on the rest of code, and forgot to delete it...
JustChecking at 2007-11-10 22:29:43 >
# 2 Re: errors with header file
yeah that was the problem was me who had put it there as tutrial had told me to put it at the bottem but it meant to put and the bottom of the playerclass have did that and it works now thankyou for your help.
promith at 2007-11-10 22:30:37 >