00001 /******************************************************************************* 00002 ** Copyright (c) 1992-2011 VT MAK 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 00008 00009 #pragma once 00010 00011 #include "remoteControlRecordInterface.h" 00012 00013 class DtString; 00014 00016 class DtRecordInterfacePrinter : public MAKLogger::DtRemoteControlRecordInterface 00017 { 00018 public: 00019 00021 DtRecordInterfacePrinter(MAKLogger::DtRemoteControlInterface* rci); 00022 00024 virtual ~DtRecordInterfacePrinter(); 00025 00026 private: 00028 DtRecordInterfacePrinter(const DtRecordInterfacePrinter&); 00030 DtRecordInterfacePrinter& operator=(const DtRecordInterfacePrinter&); 00031 00032 00033 public: 00034 00035 static MAKLogger::DtRemoteControlRecordInterface* create(MAKLogger::DtRemoteControlInterface* rci); 00036 00037 protected: 00038 00040 00041 virtual void newFileOpened(const DtString& fileName); 00042 virtual void newFileFailed(const DtEntityIdentifier& source, const DtString& reason); 00043 virtual void fileClosed(); 00044 virtual void recordingChanged(bool currentlyRecording); 00045 virtual void recordingPausedChanged(bool paused); 00046 virtual void fileEmptyChanged(); 00047 virtual void pauseOnRecordAsChanged(bool enable); 00049 };