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

Public Member Functions

 RemoveFile ()
 
int Parse (NS_tchar *line)
 
int Prepare ()
 
int Execute ()
 
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< const NS_tchar[]> mFile
 
std::unique_ptr< NS_tchar[]> mRelPath
 
int mSkip
 

Additional Inherited Members

- Public Attributes inherited from Action
int mProgressCost
 

Detailed Description

Definition at line 1113 of file updater.cxx.

Constructor & Destructor Documentation

◆ RemoveFile()

RemoveFile::RemoveFile ( )
inline

Definition at line 1116 of file updater.cxx.

Member Function Documentation

◆ Execute()

int RemoveFile::Execute ( )
virtual

Implements Action.

Definition at line 1202 of file updater.cxx.

References backup_create(), LOG, LOG_S, mFile, mRelPath, mSkip, NS_taccess, and OK.

◆ Finish()

void RemoveFile::Finish ( int  status)
virtual

Implements Action.

Definition at line 1231 of file updater.cxx.

References backup_finish(), LOG, LOG_S, mFile, mRelPath, and mSkip.

◆ Parse()

int RemoveFile::Parse ( NS_tchar line)
virtual

Implements Action.

Definition at line 1130 of file updater.cxx.

References get_valid_path(), line, MAXPATHLEN, mFile, mRelPath, new_absolute_path(), NS_tstrcpy, OK, and PARSE_ERROR.

◆ Prepare()

int RemoveFile::Prepare ( )
virtual

Member Data Documentation

◆ mFile

std::unique_ptr<const NS_tchar[]> RemoveFile::mFile
private

Definition at line 1124 of file updater.cxx.

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

◆ mRelPath

std::unique_ptr<NS_tchar[]> RemoveFile::mRelPath
private

Definition at line 1125 of file updater.cxx.

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

◆ mSkip

int RemoveFile::mSkip
private

Definition at line 1126 of file updater.cxx.

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


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