Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (16 sloc) 536 Bytes
#ifndef _XSCRIPT_OPERATION_MODE_H_
#define _XSCRIPT_OPERATION_MODE_H_
#include <string>
#include <xscript/component.h>
namespace xscript {
class Response;
class OperationMode : public Component<OperationMode> {
public:
OperationMode();
virtual ~OperationMode();
virtual void processError(const std::string& message);
virtual void sendError(Response* response, unsigned short status, const std::string& message);
virtual bool isProduction() const;
};
} // namespace xscript
#endif //_XSCRIPT_OPERATION_MODE_H_
Jump to Line
Something went wrong with that request. Please try again.