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
7b87415c
Kaydet (Commit)
7b87415c
authored
Agu 25, 2014
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove whitespace and put documentation before method/class
Change-Id: Ib88648d9ec049932520501ec997e2e82a55f63f3
üst
9970fb3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
19 deletions
+7
-19
shell.hxx
include/sfx2/shell.hxx
+7
-19
No files found.
include/sfx2/shell.hxx
Dosyayı görüntüle @
7b87415c
...
@@ -60,16 +60,12 @@ namespace svl
...
@@ -60,16 +60,12 @@ namespace svl
class
IUndoManager
;
class
IUndoManager
;
}
}
enum
SfxInterfaceId
/* [Description]
/* [Description]
Id for <SfxInterface>s, gives a quasi-static access to the interface
Id for <SfxInterface>s, gives a quasi-static access to the interface
through an array to <SfxApplication>.
through an array to <SfxApplication>.
*/
*/
enum
SfxInterfaceId
{
{
SFX_INTERFACE_NONE
,
SFX_INTERFACE_NONE
,
SFX_INTERFACE_SFXAPP
,
SFX_INTERFACE_SFXAPP
,
...
@@ -122,13 +118,9 @@ enum SfxInterfaceId
...
@@ -122,13 +118,9 @@ enum SfxInterfaceId
//TODO/CLEANUP: replace by UNO constant
//TODO/CLEANUP: replace by UNO constant
#define SVVERB_SHOW -1
#define SVVERB_SHOW -1
typedef
void
(
*
SfxExecFunc
)(
SfxShell
*
,
SfxRequest
&
rReq
);
typedef
void
(
*
SfxExecFunc
)(
SfxShell
*
,
SfxRequest
&
rReq
);
typedef
void
(
*
SfxStateFunc
)(
SfxShell
*
,
SfxItemSet
&
rSet
);
typedef
void
(
*
SfxStateFunc
)(
SfxShell
*
,
SfxItemSet
&
rSet
);
class
SFX2_DLLPUBLIC
SfxShell
:
public
SfxBroadcaster
/* [Description]
/* [Description]
The class SfxShell is the base class for all classes, which provide
The class SfxShell is the base class for all classes, which provide
...
@@ -143,7 +135,7 @@ class SFX2_DLLPUBLIC SfxShell: public SfxBroadcaster
...
@@ -143,7 +135,7 @@ class SFX2_DLLPUBLIC SfxShell: public SfxBroadcaster
the <SVIDL-Compiler>. For each SfxShell Subclass-File there is one
the <SVIDL-Compiler>. For each SfxShell Subclass-File there is one
such IDL-file to write.
such IDL-file to write.
*/
*/
class
SFX2_DLLPUBLIC
SfxShell
:
public
SfxBroadcaster
{
{
friend
class
SfxObjectItem
;
friend
class
SfxObjectItem
;
...
@@ -257,8 +249,6 @@ public:
...
@@ -257,8 +249,6 @@ public:
SAL_DLLPRIVATE
void
DoDeactivate_Impl
(
SfxViewFrame
*
pFrame
,
bool
bMDI
);
SAL_DLLPRIVATE
void
DoDeactivate_Impl
(
SfxViewFrame
*
pFrame
,
bool
bMDI
);
};
};
SfxItemPool
&
SfxShell
::
GetPool
()
const
/*
/*
[Description]
[Description]
...
@@ -270,17 +260,12 @@ SfxItemPool& SfxShell::GetPool() const
...
@@ -270,17 +260,12 @@ SfxItemPool& SfxShell::GetPool() const
The SfxShell class itself does not have any SfxItemPool, therfore a
The SfxShell class itself does not have any SfxItemPool, therfore a
null-pointer is returned.
null-pointer is returned.
*/
*/
SfxItemPool
&
SfxShell
::
GetPool
()
const
{
{
assert
(
pPool
&&
"no pool"
);
assert
(
pPool
&&
"no pool"
);
return
*
pPool
;
return
*
pPool
;
}
}
inline
void
SfxShell
::
SetPool
(
SfxItemPool
*
pNewPool
// Pointer to the new Pool or null
)
/* [Description]
/* [Description]
With this method, the subclasses register their special <SfxItemPool>
With this method, the subclasses register their special <SfxItemPool>
...
@@ -289,7 +274,10 @@ inline void SfxShell::SetPool
...
@@ -289,7 +274,10 @@ inline void SfxShell::SetPool
subclass does not take ownership of the orphaned pool. Before it is
subclass does not take ownership of the orphaned pool. Before it is
deleted it has to be deregisted with SetPool(0).
deleted it has to be deregisted with SetPool(0).
*/
*/
inline
void
SfxShell
::
SetPool
(
SfxItemPool
*
pNewPool
// Pointer to the new Pool or null
)
{
{
pPool
=
pNewPool
;
pPool
=
pNewPool
;
}
}
...
...
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