error: expected constructor, destructor, or type conversion before 'class'

Thank you verry much, worked like a charm!
AWOL

#include <SoftwareSerial.h> 
#define SerialIn 2 
#define SerialOut 7

this worked fine