Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
b843d905
Kaydet (Commit)
b843d905
authored
Agu 04, 2012
tarafından
Rob Snelders
Kaydeden (comit)
Cédric Bosdonnat
Agu 14, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
code cleanup
Change-Id: Ib154cd53253e4d802d13a024a20f6c34d499e672
üst
d72568fc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
41 deletions
+49
-41
slidesorterbaropt.hxx
svtools/inc/svtools/slidesorterbaropt.hxx
+49
-41
slidesorterbaropt.cxx
svtools/source/config/slidesorterbaropt.cxx
+0
-0
No files found.
svtools/inc/svtools/slidesorterbaropt.hxx
Dosyayı görüntüle @
b843d905
...
...
@@ -27,68 +27,76 @@
#include <rtl/ustring.hxx>
#include <unotools/options.hxx>
/*@short forward declaration to our private date container implementation
@descr We use these class as internal member to support small memory requirements.
You can create the container if it is neccessary. The class which use these mechanism
is faster and smaller then a complete implementation!*/
/** forward declaration to our private date container implementation
We use these class as internal member to support small memory requirements.
You can create the container if it is neccessary. The class which use these mechanism
is faster and smaller then a complete implementation!
*/
class
SvtSlideSorterBarOptions_Impl
;
class
Link
;
/*@short collect informations about sidebar group
@ATTENTION This class is partially threadsafe.
@devstatus ready to use*/
/** collect informations about sidebar group
\attention This class is partially threadsafe.
*/
class
SVT_DLLPUBLIC
SvtSlideSorterBarOptions
:
public
utl
::
detail
::
Options
{
public
:
/*@short standard constructor and destructor
@descr This will initialize an instance with default values.
We implement these class with a refcount mechanism! Every instance of this class increase it
at create and decrease it at delete time - but all instances use the same data container!
He is implemented as a static member ...
@seealso member m_nRefCount
@seealso member m_pDataContainer*/
SvtSlideSorterBarOptions
();
/** standard constructor and destructor
This will initialize an instance with default values.
We implement these class with a refcount mechanism! Every instance of this class increase it
at create and decrease it at delete time - but all instances use the same data container!
He is implemented as a static member ...
\sa member m_nRefCount
\sa member m_pDataContainer
*/
SvtSlideSorterBarOptions
();
virtual
~
SvtSlideSorterBarOptions
();
void
AddListenerLink
(
const
Link
&
rLink
);
void
RemoveListenerLink
(
const
Link
&
rLink
);
sal_Bool
GetVisibleImpressView
()
const
;
void
SetVisibleImpressView
(
sal_B
ool
bVisible
);
sal_Bool
GetVisibleOutlineView
()
const
;
void
SetVisibleOutlineView
(
sal_B
ool
bVisible
);
sal_Bool
GetVisibleNotesView
()
const
;
void
SetVisibleNotesView
(
sal_B
ool
bVisible
);
sal_Bool
GetVisibleHandoutView
()
const
;
void
SetVisibleHandoutView
(
sal_B
ool
bVisible
);
sal_Bool
GetVisibleSlideSorterView
()
const
;
void
SetVisibleSlideSorterView
(
sal_B
ool
bVisible
);
sal_Bool
GetVisibleDrawView
()
const
;
void
SetVisibleDrawView
(
sal_B
ool
bVisible
);
bool
GetVisibleImpressView
()
const
;
void
SetVisibleImpressView
(
b
ool
bVisible
);
bool
GetVisibleOutlineView
()
const
;
void
SetVisibleOutlineView
(
b
ool
bVisible
);
bool
GetVisibleNotesView
()
const
;
void
SetVisibleNotesView
(
b
ool
bVisible
);
bool
GetVisibleHandoutView
()
const
;
void
SetVisibleHandoutView
(
b
ool
bVisible
);
bool
GetVisibleSlideSorterView
()
const
;
void
SetVisibleSlideSorterView
(
b
ool
bVisible
);
bool
GetVisibleDrawView
()
const
;
void
SetVisibleDrawView
(
b
ool
bVisible
);
private
:
/*@short return a reference to a static mutex
@descr These class is partially threadsafe (for de-/initialization only).
All access methods are'nt safe!
We create a static mutex only for one ime and use at different times.
@return A reference to a static mutex member.*/
/** return a reference to a static mutex
These class is partially threadsafe (for de-/initialization only).
All access methods are'nt safe!
We create a static mutex only for one ime and use at different times.
\return A reference to a static mutex member.*/
SVT_DLLPRIVATE
static
::
osl
::
Mutex
&
GetInitMutex
();
private
:
/*
Attention
/*
*
\attention
Don't initialize these static member in these header!
a) Double d
fined symbols will be detected ...
b)
and unresolved externals exist at linking time.
\li Double de
fined symbols will be detected ...
\li
and unresolved externals exist at linking time.
Do it in your source only.
*/
static
SvtSlideSorterBarOptions_Impl
*
m_pDataContainer
;
/// impl. data container as dynamic pointer for smaller memory requirements!
static
sal_Int32
m_nRefCount
;
/// internal ref count mechanism
*/
static
SvtSlideSorterBarOptions_Impl
*
m_pDataContainer
;
///
<
impl. data container as dynamic pointer for smaller memory requirements!
static
sal_Int32
m_nRefCount
;
///
<
internal ref count mechanism
};
// class SvtSlideSorterBarOptions
};
#endif
// #ifndef INCLUDED_SVTOOLS_SLIDESORTERBAROPT_HXX
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
svtools/source/config/slidesorterbaropt.cxx
Dosyayı görüntüle @
b843d905
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment