LibreOffice Module onlineupdate (master) 1
Public Member Functions | Private Attributes | List of all members
PatchIfFile Class Reference
Inheritance diagram for PatchIfFile:
[legend]
Collaboration diagram for PatchIfFile:
[legend]

Public Member Functions

 PatchIfFile (ArchiveReader &archiveReader)
 
virtual int Parse (NS_tchar *line)
 
virtual int Prepare ()
 
virtual int Execute ()
 
virtual void Finish (int status)
 
- Public Member Functions inherited from PatchFile
 PatchFile (ArchiveReader &ar)
 
virtual ~PatchFile ()
 
virtual int Parse (NS_tchar *line)
 
virtual int Prepare ()
 
virtual int Execute ()
 
virtual void Finish (int status)
 
- Public Member Functions inherited from Action
 Action ()
 
virtual ~Action ()
 
virtual int Parse (NS_tchar *line)=0
 
virtual int Prepare ()=0
 
virtual int Execute ()=0
 
virtual void Finish (int status)=0
 

Private Attributes

std::unique_ptr< NS_tchar[]> mTestFile
 

Additional Inherited Members

- Public Attributes inherited from Action
int mProgressCost
 

Detailed Description

Definition at line 1928 of file updater.cxx.

Constructor & Destructor Documentation

◆ PatchIfFile()

PatchIfFile::PatchIfFile ( ArchiveReader archiveReader)

Definition at line 1942 of file updater.cxx.

Member Function Documentation

◆ Execute()

int PatchIfFile::Execute ( )
virtual

Reimplemented from PatchFile.

Definition at line 1978 of file updater.cxx.

References PatchFile::Execute(), mTestFile, and OK.

◆ Finish()

void PatchIfFile::Finish ( int  status)
virtual

Reimplemented from PatchFile.

Definition at line 1987 of file updater.cxx.

References PatchFile::Finish(), and mTestFile.

◆ Parse()

int PatchIfFile::Parse ( NS_tchar line)
virtual

Reimplemented from PatchFile.

Definition at line 1948 of file updater.cxx.

References get_valid_path(), kQuote, line, mstrtok(), mTestFile, new_absolute_path(), PatchFile::Parse(), and PARSE_ERROR.

◆ Prepare()

int PatchIfFile::Prepare ( )
virtual

Reimplemented from PatchFile.

Definition at line 1965 of file updater.cxx.

References mTestFile, NS_taccess, OK, and PatchFile::Prepare().

Member Data Documentation

◆ mTestFile

std::unique_ptr<NS_tchar[]> PatchIfFile::mTestFile
private

Definition at line 1939 of file updater.cxx.

Referenced by Execute(), Finish(), Parse(), and Prepare().


The documentation for this class was generated from the following file: