LibreOffice Module desktop (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
migration::BasicMigration Class Reference

#include <basicmigration.hxx>

Inheritance diagram for migration::BasicMigration:
[legend]
Collaboration diagram for migration::BasicMigration:
[legend]

Public Member Functions

 BasicMigration ()
 
virtual ~BasicMigration () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &rServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
 
virtual css::uno::Any SAL_CALL execute (const css::uno::Sequence< css::beans::NamedValue > &Arguments) override
 

Private Member Functions

TStringVectorPtr getFiles (const OUString &rBaseURL) const
 
void checkAndCreateDirectory (INetURLObject const &rDirURL)
 
void copyFiles ()
 

Private Attributes

::osl::Mutex m_aMutex
 
OUString m_sSourceDir
 

Detailed Description

Definition at line 40 of file basicmigration.hxx.

Constructor & Destructor Documentation

◆ BasicMigration()

migration::BasicMigration::BasicMigration ( )

Definition at line 44 of file basicmigration.cxx.

◆ ~BasicMigration()

migration::BasicMigration::~BasicMigration ( )
overridevirtual

Definition at line 49 of file basicmigration.cxx.

Member Function Documentation

◆ checkAndCreateDirectory()

void migration::BasicMigration::checkAndCreateDirectory ( INetURLObject const &  rDirURL)
private

◆ copyFiles()

void migration::BasicMigration::copyFiles ( )
private

◆ execute()

Any migration::BasicMigration::execute ( const css::uno::Sequence< css::beans::NamedValue > &  Arguments)
overridevirtual

Definition at line 181 of file basicmigration.cxx.

References Any, copyFiles(), and m_aMutex.

◆ getFiles()

TStringVectorPtr migration::BasicMigration::getFiles ( const OUString &  rBaseURL) const
private

Definition at line 54 of file basicmigration.cxx.

References getFiles().

Referenced by copyFiles(), and getFiles().

◆ getImplementationName()

OUString migration::BasicMigration::getImplementationName ( )
overridevirtual

Definition at line 134 of file basicmigration.cxx.

◆ getSupportedServiceNames()

Sequence< OUString > migration::BasicMigration::getSupportedServiceNames ( )
overridevirtual

Definition at line 146 of file basicmigration.cxx.

◆ initialize()

void migration::BasicMigration::initialize ( const css::uno::Sequence< css::uno::Any > &  aArguments)
overridevirtual

Definition at line 155 of file basicmigration.cxx.

References aArguments, Any, m_aMutex, m_sSourceDir, and sSourceUserBasic.

◆ supportsService()

sal_Bool migration::BasicMigration::supportsService ( const OUString &  rServiceName)
overridevirtual

Definition at line 140 of file basicmigration.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ m_aMutex

::osl::Mutex migration::BasicMigration::m_aMutex
private

Definition at line 43 of file basicmigration.hxx.

Referenced by execute(), and initialize().

◆ m_sSourceDir

OUString migration::BasicMigration::m_sSourceDir
private

Definition at line 44 of file basicmigration.hxx.

Referenced by copyFiles(), and initialize().


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