mirror of
https://github.com/fadden/ciderpress.git
synced 2024-11-23 11:33:58 +00:00
8f61f84585
Much of what the "reformat" code does involves processing data that is 8, 16, or 32 bits. We want to use size-specific types from stdint.h (e.g. uint16_t) rather than "unsigned short". This was a quick pass to replace the various "unsigned" declarations. More can be done here and elsewhere.
33 lines
801 B
C++
33 lines
801 B
C++
/*
|
|
* CiderPress
|
|
* Copyright (C) 2007 by faddenSoft, LLC. All Rights Reserved.
|
|
* See the file LICENSE for distribution terms.
|
|
*/
|
|
/*
|
|
* Reformat subdirectories.
|
|
*/
|
|
#ifndef REFORMAT_DIRECTORY_H
|
|
#define REFORMAT_DIRECTORY_H
|
|
|
|
#include "ReformatBase.h"
|
|
|
|
/*
|
|
* Reformat a ProDOS directory.
|
|
*/
|
|
class ReformatDirectory : public ReformatText {
|
|
public:
|
|
ReformatDirectory(void) {}
|
|
virtual ~ReformatDirectory(void) {}
|
|
|
|
virtual void Examine(ReformatHolder* pHolder);
|
|
virtual int Process(const ReformatHolder* pHolder,
|
|
ReformatHolder::ReformatID id, ReformatHolder::ReformatPart part,
|
|
ReformatOutput* pOutput);
|
|
|
|
private:
|
|
void PrintDirEntries(const uint8_t* srcBuf,
|
|
long srcLen, bool showDeleted);
|
|
};
|
|
|
|
#endif /*REFORMAT_DIRECTORY_H*/
|