// MoboxDirectoryChangeHandler.cpp : implementation file
|
//
|
|
#include "stdafx.h"
|
#include "../OIMOBOXWatchDir.h"
|
#include "MoboxDirectoryChangeHandler.h"
|
#include "../OIMOBOXWatchDirDlg.h"
|
|
CMoboxDirectoryChangeHandler::CMoboxDirectoryChangeHandler()
|
{
|
//m_pMgrSTKNetDiskData = NULL;
|
m_pServiceMOBOX = NULL;
|
}
|
|
CMoboxDirectoryChangeHandler::~CMoboxDirectoryChangeHandler()
|
{
|
}
|
|
|
// CMoboxDirectoryChangeHandler member functions
|
void CMoboxDirectoryChangeHandler::On_FileAdded(const CString & strFileName)
|
{
|
CString strParGUID;
|
CString strGUID;
|
if( !m_pServiceMOBOX)
|
return;
|
m_pServiceMOBOX->On_FileAdded(strFileName);
|
|
|
|
}
|
void CMoboxDirectoryChangeHandler::On_FileRemoved(const CString & strFileName)
|
{
|
CString strParGUID;
|
CString strGUID;
|
if( !m_pServiceMOBOX)
|
return;
|
m_pServiceMOBOX->On_FileRemoved(strFileName);
|
}
|
void CMoboxDirectoryChangeHandler::On_FileNameChanged(const CString & strOldFileName, const CString & strNewFileName)
|
{
|
if( !m_pServiceMOBOX)
|
return;
|
m_pServiceMOBOX->On_FileNameChanged(strOldFileName, strNewFileName);
|
}
|
void CMoboxDirectoryChangeHandler::On_FileModified(const CString & strFileName)
|
{
|
CString strParGUID;
|
CString strGUID;
|
if( !m_pServiceMOBOX)
|
return;
|
m_pServiceMOBOX->On_FileModified(strFileName);
|
|
}
|