2007-03-27 17:47:10 +00:00
|
|
|
/*
|
|
|
|
* CiderPress
|
|
|
|
* Copyright (C) 2007 by faddenSoft, LLC. All Rights Reserved.
|
|
|
|
* See the file LICENSE for distribution terms.
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* Reformat subdirectories.
|
|
|
|
*/
|
|
|
|
#ifndef __LR_DIRECTORY__
|
|
|
|
#define __LR_DIRECTORY__
|
|
|
|
|
|
|
|
#include "ReformatBase.h"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Reformat a ProDOS directory.
|
|
|
|
*/
|
|
|
|
class ReformatDirectory : public ReformatText {
|
|
|
|
public:
|
2014-11-04 00:26:53 +00:00
|
|
|
ReformatDirectory(void) {}
|
|
|
|
virtual ~ReformatDirectory(void) {}
|
2007-03-27 17:47:10 +00:00
|
|
|
|
2014-11-04 00:26:53 +00:00
|
|
|
virtual void Examine(ReformatHolder* pHolder);
|
|
|
|
virtual int Process(const ReformatHolder* pHolder,
|
|
|
|
ReformatHolder::ReformatID id, ReformatHolder::ReformatPart part,
|
|
|
|
ReformatOutput* pOutput);
|
2007-03-27 17:47:10 +00:00
|
|
|
|
|
|
|
private:
|
2014-11-04 00:26:53 +00:00
|
|
|
void PrintDirEntries(const unsigned char* srcBuf,
|
|
|
|
long srcLen, bool showDeleted);
|
2007-03-27 17:47:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /*__LR_DIRECTORY__*/
|