| 775 | class CppOnlyDebugAgent : public DebugAgent { |
| 776 | public: |
| 777 | virtual void onCreateContext ( Context * ctx ) override { if ( onCreateContextOp ) onCreateContextOp(ctx); } |
| 778 | virtual void onDestroyContext ( Context * ctx ) override { if ( onDestroyContextOp ) onDestroyContextOp(ctx); } |
| 779 | virtual bool onLog ( Context * context, const LineInfo * at, int level, const char * text ) override { return onLogOp ? onLogOp(context, at, level, text) : false; } |
| 780 | virtual bool isCppOnlyAgent() const override { return true; } |