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

#include <lockfile.hxx>

Public Types

typedef bool(* fpExecWarning) (Lockfile const *that)

Public Member Functions

 Lockfile (bool bIPCserver=true)
bool check (fpExecWarning execWarning)
 ~Lockfile ()

Private Member Functions

void syncToFile () const
bool isStale () const

Private Attributes

bool m_bIPCserver
OUString m_aLockname
bool m_bRemove
bool m_bIsLocked
OUString m_aId
OUString m_aDate


bool Lockfile_execWarning (Lockfile const *that)

Detailed Description

Definition at line 53 of file lockfile.hxx.

Member Typedef Documentation

typedef bool(* desktop::Lockfile::fpExecWarning) (Lockfile const *that)

Definition at line 61 of file lockfile.hxx.

Constructor & Destructor Documentation

desktop::Lockfile::Lockfile ( bool  bIPCserver = true)
desktop::Lockfile::~Lockfile ( )

Definition at line 202 of file lockfile.cxx.

References m_aLockname, and m_bRemove.

Member Function Documentation

bool desktop::Lockfile::check ( fpExecWarning  execWarning)

Definition at line 121 of file lockfile.cxx.

References File, isStale(), m_aLockname, m_bIsLocked, m_bRemove, syncToFile(), and void().

bool desktop::Lockfile::isStale ( ) const
void desktop::Lockfile::syncToFile ( ) const

Friends And Related Function Documentation

bool Lockfile_execWarning ( Lockfile const *  that)

Definition at line 29 of file lockfile2.cxx.

Member Data Documentation

OUString desktop::Lockfile::m_aDate

Definition at line 79 of file lockfile.hxx.

Referenced by Lockfile(), and syncToFile().

OUString desktop::Lockfile::m_aId

Definition at line 78 of file lockfile.hxx.

Referenced by Lockfile(), and syncToFile().

OUString desktop::Lockfile::m_aLockname
bool desktop::Lockfile::m_bIPCserver

Definition at line 71 of file lockfile.hxx.

Referenced by syncToFile().

bool desktop::Lockfile::m_bIsLocked

Definition at line 76 of file lockfile.hxx.

Referenced by check(), and Lockfile().

bool desktop::Lockfile::m_bRemove

Definition at line 75 of file lockfile.hxx.

Referenced by check(), Lockfile(), and ~Lockfile().

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