You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
736 B
35 lines
736 B
// -*- C++ -*-
|
|
//
|
|
// C++ Interface: dvisourcesplitter
|
|
//
|
|
// Author: Jeroen Wijnhout <Jeroen.Wijnhout@kdemail.net>, (C) 2004
|
|
//
|
|
// Copyright: See COPYING file that comes with this distribution
|
|
//
|
|
|
|
#ifndef DVI_SOURCEFILESPLITTER_H
|
|
#define DVI_SOURCEFILESPLITTER_H
|
|
|
|
#include <tqfileinfo.h>
|
|
|
|
class TQString;
|
|
|
|
|
|
class DVI_SourceFileSplitter
|
|
{
|
|
public:
|
|
DVI_SourceFileSplitter(const TQString & scrlink, const TQString & dviFile);
|
|
|
|
TQString fileName() { return m_fileInfo.fileName(); }
|
|
TQString filePath() { return m_fileInfo.absFilePath(); }
|
|
bool fileExists() { return m_fileInfo.exists(); }
|
|
|
|
TQ_UINT32 line() { return m_line; }
|
|
|
|
private:
|
|
TQFileInfo m_fileInfo;
|
|
TQ_UINT32 m_line;
|
|
bool m_exists;
|
|
};
|
|
#endif
|