📄 recoverythread.cpp
字号:
//--------------------------------// coder Cai jianyu (comment by Yuan Zhijian)// begin 2002// finish 2003// v1 2003-01//--------------------------------//#include <RecoveryThread.h>#include "RecoveryThread.h"#include <predefine.h>CRecoveryThread::CRecoveryThread(DataRecovery_impl * DataRec){ m_DataRec = DataRec;}int CRecoveryThread::nInit(DataRecovery_impl * DataRec){ // cout<<"-------call CRecoveryThread::CRecoveryThread---------"<<endl; m_DataRec = DataRec; return SUCCESS;}CRecoveryThread::~CRecoveryThread(){ }void CRecoveryThread::run(){ //在这里具体执行数据恢复的过程 int rc; //调用判断是否进行回复工作的函数 rc = m_DataRec -> nNeedRecovery(); if (rc == 1) //需要进行数据恢复操作! { rc = m_DataRec -> nRecoveryProcess(); } else //拒绝进行数据恢复操作! { rc = m_DataRec -> nRefuse(); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -