forked from NOVACProject/NovacViewer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScannerFileInfo.cpp
More file actions
30 lines (27 loc) · 792 Bytes
/
ScannerFileInfo.cpp
File metadata and controls
30 lines (27 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include "StdAfx.h"
#include "scannerfileinfo.h"
CScannerFileInfo::CScannerFileInfo(void)
{
}
CScannerFileInfo::~CScannerFileInfo(void)
{
}
CScannerFileInfo::CScannerFileInfo(char pDiskName,CString pFileName,CString pFileSubfix, long pFileSize, CString pDate,CString pTime)
{
diskName = pDiskName;
fileName = pFileName;
fileSubfix = pFileSubfix;
fileSize = pFileSize;
date = pDate;
time = pTime;
info.Format("%d bytes, created %s %s", fileSize,date,time);
}
CScannerFileInfo::CScannerFileInfo(const CScannerFileInfo &info2){
this->date.Format(info2.date);
this->diskName = info2.diskName;
this->fileName.Format(info2.fileName);
this->fileSize = info2.fileSize;
this->fileSubfix.Format(info2.fileSubfix);
this->info.Format(info2.info);
this->time.Format(info2.time);
}