We want to be consistent with the previous layout, to avoid needlessly breaking existing codes. The header update means client codes are not required to include all of the stepcode library includes explicitly - i.e., stepcode itself does not force this requirement with its own internal includes. However, if client codes do not want to add the library prefixes to their own includes as we have for stepcode, they should still be able to add the various includes and work as before. Adjust the include directory names accordingly.
20 lines
669 B
C++
20 lines
669 B
C++
#ifndef P21HEADERSECTIONREADER_H
|
|
#define P21HEADERSECTIONREADER_H
|
|
|
|
#include "cllazyfile/headerSectionReader.h"
|
|
#include "sc_export.h"
|
|
|
|
class SC_LAZYFILE_EXPORT p21HeaderSectionReader: public headerSectionReader {
|
|
public:
|
|
p21HeaderSectionReader( lazyFileReader * parent, std::ifstream & file, std::streampos start, sectionID sid );
|
|
void findSectionStart();
|
|
/** gets information (start, end, name, etc) about the next
|
|
* instance in the file and returns it in a namedLazyInstance
|
|
* \sa lazyP21DataSectionReader::nextInstance()
|
|
*/
|
|
const namedLazyInstance nextInstance();
|
|
};
|
|
|
|
#endif //P21HEADERSECTIONREADER_H
|
|
|