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
d364e6eb
Kaydet (Commit)
d364e6eb
authored
Mar 08, 2014
tarafından
Norbert Thiebaud
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
de-macroize ucb ftpcontent
Change-Id: I33bc2982ba9c4490b4a649dd95225328d2877490
üst
b4ab8df0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
216 deletions
+29
-216
ftpintreq.cxx
ucb/source/ucp/ftp/ftpintreq.cxx
+13
-132
ftpintreq.hxx
ucb/source/ucp/ftp/ftpintreq.hxx
+16
-84
No files found.
ucb/source/ucp/ftp/ftpintreq.cxx
Dosyayı görüntüle @
d364e6eb
...
@@ -36,47 +36,9 @@ XInteractionApproveImpl::XInteractionApproveImpl()
...
@@ -36,47 +36,9 @@ XInteractionApproveImpl::XInteractionApproveImpl()
{
{
}
}
void
SAL_CALL
XInteractionApproveImpl
::
acquire
(
void
)
throw
()
{
OWeakObject
::
acquire
();
}
void
SAL_CALL
XInteractionApproveImpl
::
release
(
void
)
throw
()
{
OWeakObject
::
release
();
}
Any
SAL_CALL
XInteractionApproveImpl
::
queryInterface
(
const
Type
&
rType
)
throw
(
RuntimeException
,
std
::
exception
)
{
Any
aRet
=
cppu
::
queryInterface
(
rType
,
(
static_cast
<
lang
::
XTypeProvider
*
>
(
this
)),
(
static_cast
<
XInteractionApprove
*
>
(
this
))
);
return
aRet
.
hasValue
()
?
aRet
:
OWeakObject
::
queryInterface
(
rType
);
}
// XTypeProvider
XTYPEPROVIDER_IMPL_2
(
XInteractionApproveImpl
,
XTypeProvider
,
XInteractionApprove
)
void
SAL_CALL
XInteractionApproveImpl
::
select
()
void
SAL_CALL
XInteractionApproveImpl
::
select
()
throw
(
RuntimeException
,
std
::
exception
)
throw
(
RuntimeException
,
std
::
exception
)
{
{
m_bSelected
=
true
;
m_bSelected
=
true
;
}
}
...
@@ -95,107 +57,28 @@ XInteractionDisapproveImpl::XInteractionDisapproveImpl()
...
@@ -95,107 +57,28 @@ XInteractionDisapproveImpl::XInteractionDisapproveImpl()
{
{
}
}
void
SAL_CALL
XInteractionDisapproveImpl
::
acquire
(
void
)
throw
()
{
OWeakObject
::
acquire
();
}
void
SAL_CALL
XInteractionDisapproveImpl
::
release
(
void
)
throw
()
{
OWeakObject
::
release
();
}
Any
SAL_CALL
XInteractionDisapproveImpl
::
queryInterface
(
const
Type
&
rType
)
throw
(
RuntimeException
,
std
::
exception
)
{
Any
aRet
=
cppu
::
queryInterface
(
rType
,
(
static_cast
<
lang
::
XTypeProvider
*
>
(
this
)),
(
static_cast
<
XInteractionDisapprove
*
>
(
this
))
);
return
aRet
.
hasValue
()
?
aRet
:
OWeakObject
::
queryInterface
(
rType
);
}
// XTypeProvider
XTYPEPROVIDER_IMPL_2
(
XInteractionDisapproveImpl
,
XTypeProvider
,
XInteractionDisapprove
)
void
SAL_CALL
XInteractionDisapproveImpl
::
select
()
void
SAL_CALL
XInteractionDisapproveImpl
::
select
()
throw
(
RuntimeException
,
std
::
exception
)
throw
(
RuntimeException
,
std
::
exception
)
{
{
m_bSelected
=
true
;
m_bSelected
=
true
;
}
}
// XInteractionRequestImpl
// XInteractionRequestImpl
XInteractionRequestImpl
::
XInteractionRequestImpl
(
const
OUString
&
aName
)
XInteractionRequestImpl
::
XInteractionRequestImpl
(
const
OUString
&
aName
)
:
p1
(
new
XInteractionApproveImpl
)
,
:
p1
(
new
XInteractionApproveImpl
)
p2
(
new
XInteractionDisapproveImpl
),
,
p2
(
new
XInteractionDisapproveImpl
)
m_aName
(
aName
),
,
m_aName
(
aName
)
m_aSeq
(
2
)
,
m_aSeq
(
2
)
{
{
m_aSeq
[
0
]
=
Reference
<
XInteractionContinuation
>
(
p1
);
m_aSeq
[
0
]
=
Reference
<
XInteractionContinuation
>
(
p1
);
m_aSeq
[
1
]
=
Reference
<
XInteractionContinuation
>
(
p2
);
m_aSeq
[
1
]
=
Reference
<
XInteractionContinuation
>
(
p2
);
}
}
void
SAL_CALL
XInteractionRequestImpl
::
acquire
(
void
)
throw
()
{
OWeakObject
::
acquire
();
}
void
SAL_CALL
XInteractionRequestImpl
::
release
(
void
)
throw
()
{
OWeakObject
::
release
();
}
Any
SAL_CALL
XInteractionRequestImpl
::
queryInterface
(
const
Type
&
rType
)
throw
(
RuntimeException
,
std
::
exception
)
{
Any
aRet
=
cppu
::
queryInterface
(
rType
,
(
static_cast
<
lang
::
XTypeProvider
*
>
(
this
)),
(
static_cast
<
XInteractionRequest
*
>
(
this
))
);
return
aRet
.
hasValue
()
?
aRet
:
OWeakObject
::
queryInterface
(
rType
);
}
// XTypeProvider
XTYPEPROVIDER_IMPL_2
(
XInteractionRequestImpl
,
XTypeProvider
,
XInteractionRequest
)
Any
SAL_CALL
XInteractionRequestImpl
::
getRequest
(
)
Any
SAL_CALL
XInteractionRequestImpl
::
getRequest
(
)
throw
(
RuntimeException
,
std
::
exception
)
throw
(
RuntimeException
,
std
::
exception
)
{
{
Any
aAny
;
Any
aAny
;
UnsupportedNameClashException
excep
;
UnsupportedNameClashException
excep
;
...
@@ -204,15 +87,13 @@ Any SAL_CALL XInteractionRequestImpl::getRequest( )
...
@@ -204,15 +87,13 @@ Any SAL_CALL XInteractionRequestImpl::getRequest( )
return
aAny
;
return
aAny
;
}
}
Sequence
<
Reference
<
XInteractionContinuation
>
>
SAL_CALL
XInteractionRequestImpl
::
getContinuations
()
Sequence
<
Reference
<
XInteractionContinuation
>
>
SAL_CALL
throw
(
RuntimeException
,
XInteractionRequestImpl
::
getContinuations
(
)
std
::
exception
)
throw
(
RuntimeException
,
std
::
exception
)
{
{
return
m_aSeq
;
return
m_aSeq
;
}
}
bool
XInteractionRequestImpl
::
approved
()
const
bool
XInteractionRequestImpl
::
approved
()
const
{
{
return
p1
->
isSelected
();
return
p1
->
isSelected
();
...
...
ucb/source/ucp/ftp/ftpintreq.hxx
Dosyayı görüntüle @
d364e6eb
...
@@ -28,42 +28,21 @@
...
@@ -28,42 +28,21 @@
#include <com/sun/star/task/XInteractionDisapprove.hpp>
#include <com/sun/star/task/XInteractionDisapprove.hpp>
#include <com/sun/star/task/XInteractionApprove.hpp>
#include <com/sun/star/task/XInteractionApprove.hpp>
#include <com/sun/star/task/XInteractionRequest.hpp>
#include <com/sun/star/task/XInteractionRequest.hpp>
#include <cppuhelper/implbase1.hxx>
namespace
ftp
{
namespace
ftp
{
class
XInteractionApproveImpl
:
public
cppu
::
WeakImplHelper1
<
class
XInteractionApproveImpl
css
::
task
::
XInteractionApprove
>
:
public
cppu
::
OWeakObject
,
public
com
::
sun
::
star
::
lang
::
XTypeProvider
,
public
com
::
sun
::
star
::
task
::
XInteractionApprove
{
{
public
:
public
:
XInteractionApproveImpl
();
XInteractionApproveImpl
();
virtual
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
queryInterface
(
const
com
::
sun
::
star
::
uno
::
Type
&
rType
)
throw
(
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
);
virtual
void
SAL_CALL
acquire
(
void
)
throw
();
virtual
void
SAL_CALL
release
(
void
)
throw
();
// XTypeProvider
XTYPEPROVIDER_DECL
()
virtual
void
SAL_CALL
select
()
virtual
void
SAL_CALL
select
()
throw
(
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
);
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
);
bool
isSelected
()
const
;
bool
isSelected
()
const
;
...
@@ -75,35 +54,13 @@ namespace ftp {
...
@@ -75,35 +54,13 @@ namespace ftp {
class
XInteractionDisapproveImpl
class
XInteractionDisapproveImpl
:
public
cppu
::
WeakImplHelper1
<
:
public
cppu
::
OWeakObject
,
css
::
task
::
XInteractionDisapprove
>
public
com
::
sun
::
star
::
lang
::
XTypeProvider
,
public
com
::
sun
::
star
::
task
::
XInteractionDisapprove
{
{
public
:
public
:
XInteractionDisapproveImpl
();
XInteractionDisapproveImpl
();
virtual
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
queryInterface
(
const
com
::
sun
::
star
::
uno
::
Type
&
rType
)
throw
(
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
);
virtual
void
SAL_CALL
acquire
(
void
)
throw
();
virtual
void
SAL_CALL
release
(
void
)
throw
();
// XTypeProvider
XTYPEPROVIDER_DECL
()
virtual
void
SAL_CALL
select
()
virtual
void
SAL_CALL
select
()
throw
(
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
);
throw
(
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
);
...
@@ -114,44 +71,21 @@ namespace ftp {
...
@@ -114,44 +71,21 @@ namespace ftp {
class
XInteractionRequestImpl
class
XInteractionRequestImpl
:
public
cppu
::
WeakImplHelper1
<
:
public
cppu
::
OWeakObject
,
css
::
task
::
XInteractionRequest
>
public
com
::
sun
::
star
::
lang
::
XTypeProvider
,
public
com
::
sun
::
star
::
task
::
XInteractionRequest
{
{
public
:
public
:
XInteractionRequestImpl
(
const
OUString
&
aName
);
XInteractionRequestImpl
(
const
OUString
&
aName
);
virtual
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
getRequest
(
)
queryInterface
(
throw
(
css
::
uno
::
RuntimeException
,
const
com
::
sun
::
star
::
uno
::
Type
&
rType
)
std
::
exception
);
throw
(
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
);
virtual
void
SAL_CALL
acquire
(
void
)
throw
();
virtual
void
SAL_CALL
release
(
void
)
throw
();
// XTypeProvider
css
::
uno
::
Sequence
<
css
::
uno
::
Reference
<
css
::
task
::
XInteractionContinuation
>
>
SAL_CALL
XTYPEPROVIDER_DECL
()
com
::
sun
::
star
::
uno
::
Any
SAL_CALL
getRequest
(
)
throw
(
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
);
com
::
sun
::
star
::
uno
::
Sequence
<
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
task
::
XInteractionContinuation
>
>
SAL_CALL
getContinuations
(
)
getContinuations
(
)
throw
(
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
);
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
);
bool
approved
()
const
;
bool
approved
()
const
;
...
@@ -162,9 +96,7 @@ namespace ftp {
...
@@ -162,9 +96,7 @@ namespace ftp {
OUString
m_aName
;
OUString
m_aName
;
com
::
sun
::
star
::
uno
::
Sequence
<
css
::
uno
::
Sequence
<
css
::
uno
::
Reference
<
css
::
task
::
XInteractionContinuation
>
>
m_aSeq
;
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
task
::
XInteractionContinuation
>
>
m_aSeq
;
};
};
}
}
...
...
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