Libraries unqualified-id's error

Hello, I’ve been working on a library recently to control a simple robot; only consisting of two DC motors. Unfortunately, I’ve been coming across the error message referred to as: error: expected unqualified-id before ‘{’ token

It may seem basic, but for some reason I am unable to debug this issue myself; after even completely re-writing the header file.

The full error message:

E:\Documents\Arduino\libraries\LFR/LMotor.h:7: error: expected unqualified-id before ‘{’ token

My header file:

#ifndef LMotor_h
#define LMotor_h

#include “Arduino.h”

class LMotor;
{
public:
lmotor (Int LM);
private:
int _LM;
};

#endif

The main code from my sketch file:


#include <LMotor.h>
#include <LSensor.h>
#include <RMotor.h>
#include <RSensor.h>

LMotor::lmotor(0);
RMotor::rmotor(0);
LSensor::lsensor(0);
RSensor::rsensor(0);

void setup()
{
}

void loop()
{

}

Much thanks to anyone who can assist me in solving the eror

class LMotor;
{

There's something there that shouldn't be there. Can you spot; what it is?

Yeah, noticed it now; I had figured initially it would wind up to be something dumb on my part, thanks for the response too.

class LMotor;
{
public:
lmotor (Int LM);
private:
int _LM;
};

Better get your capitalization right too. Next time, please use code tags.

Read this before posting a programming question