LibreOffice Module onlineupdate (master) 1
|
Public Member Functions | |
AddFile (ArchiveReader &ar) | |
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[]> | mFile |
std::unique_ptr< NS_tchar[]> | mRelPath |
bool | mAdded |
ArchiveReader & | mArchiveReader |
Additional Inherited Members | |
Public Attributes inherited from Action | |
int | mProgressCost |
Definition at line 1366 of file updater.cxx.
|
inline |
Definition at line 1369 of file updater.cxx.
|
virtual |
Implements Action.
Reimplemented in AddIfFile, and AddIfNotFile.
Definition at line 1413 of file updater.cxx.
References backup_create(), ensure_parent_dir(), ArchiveReader::ExtractFile(), LOG, LOG_S, mAdded, mArchiveReader, MAXPATHLEN, mFile, mRelPath, NS_taccess, and STRING_CONVERSION_ERROR.
Referenced by AddIfFile::Execute(), and AddIfNotFile::Execute().
|
virtual |
Implements Action.
Reimplemented in AddIfFile, and AddIfNotFile.
Definition at line 1455 of file updater.cxx.
References backup_finish(), LOG, LOG_S, mAdded, mFile, mRelPath, and NS_tremove.
Referenced by AddIfFile::Finish(), and AddIfNotFile::Finish().
Implements Action.
Reimplemented in AddIfFile, and AddIfNotFile.
Definition at line 1384 of file updater.cxx.
References get_valid_path(), line, MAXPATHLEN, mFile, mRelPath, new_absolute_path(), NS_tstrcpy, OK, and PARSE_ERROR.
Referenced by AddIfFile::Parse(), and AddIfNotFile::Parse().
|
virtual |
Implements Action.
Reimplemented in AddIfFile, and AddIfNotFile.
Definition at line 1405 of file updater.cxx.
References LOG, LOG_S, mRelPath, and OK.
Referenced by AddIfFile::Prepare(), and AddIfNotFile::Prepare().
|
private |
Definition at line 1379 of file updater.cxx.
|
private |
Definition at line 1380 of file updater.cxx.
Referenced by Execute().
|
private |
Definition at line 1377 of file updater.cxx.
|
private |