67 lines
1.3 KiB
C++
67 lines
1.3 KiB
C++
/****************************************************************************************************
|
|
|
|
RepRapFirmware - Main Include
|
|
|
|
This defines versions etc, includes all the other include files in the right order and defines the
|
|
master RepRap class. No other definitions or information should be in here.
|
|
|
|
-----------------------------------------------------------------------------------------------------
|
|
|
|
Version 0.1
|
|
|
|
18 November 2012
|
|
|
|
Adrian Bowyer
|
|
RepRap Professional Ltd
|
|
http://reprappro.com
|
|
|
|
Licence: GPL
|
|
|
|
****************************************************************************************************/
|
|
|
|
#ifndef REPRAPFIRMWARE_H
|
|
#define REPRAPFIRMWARE_H
|
|
|
|
#define NAME "RepRapFirmware"
|
|
#define VERSION "0.1"
|
|
#define DATE "2012-11-18"
|
|
#define LAST_AUTHOR "reprappro.com"
|
|
|
|
class Platform;
|
|
class Move;
|
|
class Heat;
|
|
class GCodes;
|
|
class Webserver;
|
|
|
|
class RepRap
|
|
{
|
|
public:
|
|
|
|
RepRap();
|
|
void init();
|
|
void spin();
|
|
void interrupt();
|
|
|
|
private:
|
|
|
|
Platform* platform;
|
|
Move* move;
|
|
Heat* heat;
|
|
GCodes* gcodes;
|
|
Webserver* webserver;
|
|
};
|
|
|
|
#include "Configuration.h"
|
|
#include "Platform.h"
|
|
#include "Move.h"
|
|
#include "Heat.h"
|
|
#include "GCodes.h"
|
|
#include "Webserver.h"
|
|
|
|
// Do nothing in the constructor; put what you want in RepRap:init()
|
|
|
|
inline RepRap::RepRap() {}
|
|
|
|
extern RepRap reprap;
|
|
|
|
#endif
|