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 54 of file basicmigration.hxx.

Constructor & Destructor Documentation

migration::BasicMigration::BasicMigration ( )

Definition at line 58 of file basicmigration.cxx.

migration::BasicMigration::~BasicMigration ( )
overridevirtual

Definition at line 63 of file basicmigration.cxx.

Member Function Documentation

void migration::BasicMigration::checkAndCreateDirectory ( INetURLObject const &  rDirURL)
private
void migration::BasicMigration::copyFiles ( )
private
Any migration::BasicMigration::execute ( const css::uno::Sequence< css::beans::NamedValue > &  Arguments)
overridevirtual

Definition at line 195 of file basicmigration.cxx.

References Any, copyFiles(), and m_aMutex.

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

Definition at line 68 of file basicmigration.cxx.

Referenced by copyFiles().

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

Definition at line 169 of file basicmigration.cxx.

References Any, m_aMutex, m_sSourceDir, and sSourceUserBasic.

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

Definition at line 154 of file basicmigration.cxx.

References cppu::supportsService().

Member Data Documentation

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

Definition at line 57 of file basicmigration.hxx.

Referenced by execute(), and initialize().

OUString migration::BasicMigration::m_sSourceDir
private

Definition at line 58 of file basicmigration.hxx.

Referenced by copyFiles(), and initialize().


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