xref: /haiku/src/add-ons/media/plugins/ape_reader/MAClib/APELink.h (revision 02354704729d38c3b078c696adc1bbbd33cbcf72)
1 #ifndef APE_APELINK_H
2 #define APE_APELINK_H
3 
4 #include "IO.h"
5 #include "APEInfo.h"
6 
7 class CAPELink
8 {
9 public:
10 
11     CAPELink(const str_utf16 * pFilename);
12     CAPELink(const char * pData, const str_utf16 * pFilename);
13     ~CAPELink();
14 
15     BOOL GetIsLinkFile();
16     int GetStartBlock();
17     int GetFinishBlock();
18     const char* GetImageFilename();
19 
20 protected:
21 
22     BOOL m_bIsLinkFile;
23     int m_nStartBlock;
24     int m_nFinishBlock;
25     str_utf16 m_cImageFilename[MAX_PATH];
26 
27     void ParseData(const char * pData, const str_utf16 * pFilename);
28 };
29 
30 #endif // #ifndef APE_APELINK_H
31